aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-11-13 10:55:21 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-11-13 12:49:21 +0200
commitbbfb36f9bea797d72c0c2a415eccedd0881beb23 (patch)
tree27afe26c6efc67465a3b9a975937656e0fa93658
parent9edf6cfe0afd0a35530391bf52a38d79a70f7aa9 (diff)
downloadguix-bbfb36f9bea797d72c0c2a415eccedd0881beb23.tar
guix-bbfb36f9bea797d72c0c2a415eccedd0881beb23.tar.gz
gnu: gusb: Don't use unstable tarball.
* gnu/packages/gnome.scm (gusb)[source]: Use git-fetch and git-file-name.
-rw-r--r--gnu/packages/gnome.scm10
1 files changed, 6 insertions, 4 deletions
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 @@ DAV, and others.")
(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)