From bbfb36f9bea797d72c0c2a415eccedd0881beb23 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 13 Nov 2019 10:55:21 +0200 Subject: gnu: gusb: Don't use unstable tarball. * gnu/packages/gnome.scm (gusb)[source]: Use git-fetch and git-file-name. --- gnu/packages/gnome.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index bb77f670d4..f51d366f44 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4329,12 +4329,14 @@ (define-public gusb (name "gusb") (version "0.3.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/hughsie/libgusb/archive/" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/hughsie/libgusb.git") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk")))) + "002pg0p4qzzk5dkyiynm483ir26zxrn4k71c7f6j85mfsdzbgli7")))) (build-system meson-build-system) (native-inputs `(("gobject-introspection" ,gobject-introspection) -- cgit v1.2.3