gnu: girara: Fetch sources from git.
authorTobias Geerinckx-Rice <me@tobias.gr>
Wed, 4 Dec 2019 21:56:17 +0000 (22:56 +0100)
committerTobias Geerinckx-Rice <me@tobias.gr>
Wed, 4 Dec 2019 22:10:21 +0000 (23:10 +0100)
The tarball URI is having server issues.  Use the upstream git
repository instead until this is resolved.

Reported by Marius Bakke <mbakke@fastmail.com>.

* gnu/packages/gtk.scm (girara)[source]: Switch to GIT-FETCH.

gnu/packages/gtk.scm

index 379e09d..777601e 100644 (file)
@@ -1377,14 +1377,15 @@ and routines to assist in editing internationalized text.")
   (package
     (name "girara")
     (version "0.3.3")
-    (source (origin
-              (method url-fetch)
-              (uri
-               (string-append "https://pwmt.org/projects/girara/download/girara-"
-                              version ".tar.gz"))
-              (sha256
-               (base32
-                "13vr62kkkqs2xsrmsn114n6c6084ix1qyjksczqsc3s2y3bdsmj4"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://git.pwmt.org/pwmt/girara")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0q0yfv2777s72p473lw0ll435n7vz4v204cmp9naq8am7a6i6avn"))))
     (native-inputs `(("pkg-config" ,pkg-config)
                      ("check" ,check)
                      ("gettext" ,gettext-minimal)