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.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-21 14:35:37 +02:00
parent a8bac123f0
commit 3f90f83576
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1545,13 +1545,15 @@ (define-public criu
(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"