diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-10-21 14:35:37 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-10-21 19:44:50 +0200 |
commit | 3f90f83576453238cda99e92a0999413ad6c55d4 (patch) | |
tree | d6eb6fa5cff6608624330444b9c049a7d4dc450c | |
parent | a8bac123f0f556b5911e34ccfac733a78178643e (diff) |
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.
-rw-r--r-- | gnu/packages/virtualization.scm | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 41b405a7f0..4fe1663cd9 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" |