guix-commits
[Top][All Lists]
Advanced

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

02/07: gnu: ddate: Don't use unstable tarball.


From: guix-commits
Subject: 02/07: gnu: ddate: Don't use unstable tarball.
Date: Wed, 24 Jun 2020 03:55:56 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit eb4cfec2762b7553fc4e26208e854140a8442c2e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Jun 24 10:23:51 2020 +0300

    gnu: ddate: Don't use unstable tarball.
    
    * gnu/packages/linux.scm (ddate)[source]: Download using git-fetch.
---
 gnu/packages/linux.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1c34c5a..3b53114 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1486,12 +1486,13 @@ block devices, UUIDs, TTYs, and many other tools.")
     (name "ddate")
     (version "0.2.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/bo0ts/ddate/archive/v";
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/bo0ts/ddate";)
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
-               (base32 
"1bbqqq8mswj4bp9083gxjaky5ysfznax4cynsqwmy125z053yg6m"))))
+               (base32 
"1qchxnxvghbma6gp1g78wnjxsri0b72ha9axyk31cplssl7yn73f"))))
     (build-system cmake-build-system)
     (arguments '(#:tests? #f))
     (home-page "https://github.com/bo0ts/ddate";)



reply via email to

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