guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/22: gnu: zziplib: Don't use unstable tarball.


From: guix-commits
Subject: 10/22: gnu: zziplib: Don't use unstable tarball.
Date: Sun, 7 Jul 2019 19:04:43 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit d0a52e65b53d05790b307a2b99172fa38dcd7619
Author: Marius Bakke <address@hidden>
Date:   Sun Jul 7 17:26:38 2019 +0200

    gnu: zziplib: Don't use unstable tarball.
    
    * gnu/packages/compression.scm (zziplib)[source]: Change to GIT-FETCH.
    [argumnents]: New field.
---
 gnu/packages/compression.scm | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index ddc4317..1ca88fe 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1573,14 +1573,22 @@ recreates the stored directory structure by default.")
     (name "zziplib")
     (version "0.13.69")
     (home-page "https://github.com/gdraheim/zziplib";)
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append home-page "/archive/v" version ".tar.gz"))
-       (sha256
-        (base32
-         "0i052a7shww0fzsxrdp3rd7g4mbzx7324a8ysbc0br7frpblcql4"))))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference (url home-page)
+                                  (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0fbk9k7ryas2wh2ykwkvm1pbi40i88rfvc3dydh9xyd7w2jcki92"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (add-before 'check 'make-files-writable
+                    (lambda _
+                      (for-each make-file-writable
+                                (find-files "test" #:directories? #t))
+                      #t)))))
     (inputs
      `(("zlib" ,zlib)))
     (native-inputs `(("perl" ,perl)     ; for the documentation



reply via email to

[Prev in Thread] Current Thread [Next in Thread]