guix-commits
[Top][All Lists]
Advanced

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

08/22: gnu: par2cmdline: Fetch sources from git.


From: Ricardo Wurmus
Subject: 08/22: gnu: par2cmdline: Fetch sources from git.
Date: Sun, 11 Nov 2018 07:11:54 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 5cdbdc2b138b0dd6237f9116af894b9d7dbf429b
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Nov 11 12:31:18 2018 +0100

    gnu: par2cmdline: Fetch sources from git.
    
    * gnu/packages/backup.scm (par2cmdline)[source]: Fetch from git.
---
 gnu/packages/backup.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 52afcbc..b81d790 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2017 Rutger Helling <address@hidden>
 ;;; Copyright © 2018 Mark H Weaver <address@hidden>
 ;;; Copyright © 2018 Oleg Pykhalov <address@hidden>
+;;; Copyright © 2018 Ricardo Wurmus <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -30,6 +31,7 @@
 (define-module (gnu packages backup)
   #:use-module (guix packages)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix git-download)
   #:use-module (guix download)
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
@@ -132,13 +134,14 @@ spying and/or modification by the server.")
     (name "par2cmdline")
     (version "0.8.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://github.com/Parchive/par2cmdline/archive/v";
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Parchive/par2cmdline.git";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1jpshmmcr81mxly0md2rr231qz9c8c680bbvcmhh100dg9i4a6s6"))))
+                "0f1jsd5sw2wynjzi7yjqjaf13yhyjfdid91p8yh0jn32y03kjyrz"))))
     (native-inputs
      `(("automake" ,automake)
        ("autoconf" ,autoconf)))



reply via email to

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