guix-commits
[Top][All Lists]
Advanced

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

04/10: gnu: motion: Don't use unstable tarball.


From: Tobias Geerinckx-Rice
Subject: 04/10: gnu: motion: Don't use unstable tarball.
Date: Wed, 31 Oct 2018 23:34:46 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 2ea678fabfb57b05652fa8e0afe8fb6b1000473f
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Wed Oct 31 19:19:29 2018 +0100

    gnu: motion: Don't use unstable tarball.
    
    * gnu/packages/video.scm (motion)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/video.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 900198a..2eb79a8 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2915,14 +2915,14 @@ It counts more than 100 plugins.")
     (version "4.2")
     (home-page "https://motion-project.github.io/";)
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/Motion-Project/motion/archive/";
-                    "release-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Motion-Project/motion.git";)
+                    (commit (string-append "release-" version))))
               (sha256
                (base32
-                "1ad2zlz941lvb818g1nzlpcpbxgv0h05q164hafa805yqm7m1y3f"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+                "0c0q6dl4v561m5y8bp0c0h4p3s52fjgcdnsrrf5ygdi288d3rfxv"))
+              (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (native-inputs
      `(("autoconf" ,autoconf-wrapper)



reply via email to

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