guix-commits
[Top][All Lists]
Advanced

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

01/06: gnu: criu: Build from Git sources.


From: guix-commits
Subject: 01/06: gnu: criu: Build from Git sources.
Date: Thu, 21 Oct 2021 13:51:29 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 3f90f83576453238cda99e92a0999413ad6c55d4
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Thu Oct 21 14:35:37 2021 +0200

    gnu: criu: Build from Git sources.
    
    This in preparation for 3.16.1 which lacks a stable tarball.
    
    * gnu/packages/virtualization.scm (criu)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/virtualization.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 41b405a..4fe1663 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1545,13 +1545,15 @@ domains, their live performance and resource 
utilization statistics.")
   (package
     (name "criu")
     (version "3.16")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://download.openvz.org/criu/criu-";
-                                  version ".tar.bz2"))
-              (sha256
-               (base32
-                "13x4s7nms3ckb016d03icdsrw4k6f7i33qz9n84fzhmibm0grj70"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/checkpoint-restore/criu";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1ddgmsry4k1ialbj0rwfcdrcsazdn72py7a084wjwb4g0al1jg9l"))))
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"



reply via email to

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