guix-commits
[Top][All Lists]
Advanced

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

03/07: gnu: robocut: Don't use unstable tarball.


From: Tobias Geerinckx-Rice
Subject: 03/07: gnu: robocut: Don't use unstable tarball.
Date: Wed, 29 Aug 2018 22:43:23 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit a82b561fef437d2f4a041e5f4df8305963552069
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Fri Aug 24 04:00:47 2018 +0200

    gnu: robocut: Don't use unstable tarball.
    
    * gnu/packages/printers.scm (robocut)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/printers.scm | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index f8890cb..dff9ed3 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2018 Ludovic Courtès <address@hidden>
+;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -18,7 +19,7 @@
 
 (define-module (gnu packages printers)
   #:use-module (guix packages)
-  #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages libusb)
@@ -32,15 +33,15 @@
   (package
     (name "robocut")
     (version "1.0.11")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/Timmmm/robocut/archive/v";
-                    version ".tar.gz"))
-              (sha256
-               (base32
-                "0nmr1plq1f6sarxwqwy4vzbxkljlx8y4xalm7r05vx4lrdai5pad"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Timmmm/robocut.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0dp9cssyik63yvkk35s51v94a873x751iqg93qzd8dpqkmz5z8gn"))))
     (build-system gnu-build-system)
     (arguments
      '(#:phases (modify-phases %standard-phases



reply via email to

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