guix-commits
[Top][All Lists]
Advanced

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

20/38: gnu: cpulimit: Don't use unstable tarball.


From: guix-commits
Subject: 20/38: gnu: cpulimit: Don't use unstable tarball.
Date: Fri, 8 Feb 2019 18:02:33 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit aa372292b35264d4b3d7758b367aa25e34b23a85
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Dec 23 10:24:45 2018 +0100

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

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index b3b4dc6..6aebe65 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1705,13 +1705,13 @@ lookup to YAML Mode.  You could enable the mode with 
@code{(add-hook
     (version "0.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/opsengine/cpulimit/archive/v";
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/opsengine/cpulimit.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1nn2w849xd5bw4y5sqnll29nxdwl5h0cv4smc7dwmpb9qnd2ycb4"))))
+        (base32 "1dz045yhcsw1rdamzpz4bk8mw888in7fyqk1q1b3m1yk4pd1ahkh"))))
     (build-system gnu-build-system)
     (arguments
      `(#:phases (modify-phases %standard-phases



reply via email to

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