gnu: proot: Don't use unstable tarball.

* gnu/packages/linux.scm (proot)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-05-17 03:26:35 +02:00
parent fc32bc450f
commit 674495b7e0
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 11 additions and 9 deletions

View File

@ -4641,15 +4641,16 @@ userspace queueing component and the logging subsystem.")
(package (package
(name "proot") (name "proot")
(version "5.1.0") (version "5.1.0")
(home-page "https://github.com/proot-me/PRoot") (source
(source (origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append home-page "/archive/v" version ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/proot-me/PRoot.git")
(sha256 (commit (string-append "v" version))))
(base32 (file-name (git-file-name name version))
"11h30i83vdhc3khlj6hrh3a21sbmmz8nhfv09vkf6b9bcs1biz2h")) (sha256
(patches (search-patches "proot-test-fhs.patch")))) (base32 "0azsqis99gxldmbcg43girch85ysg4hwzf0h1b44bmapnsm89fbz"))
(patches (search-patches "proot-test-fhs.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:make-flags '("-C" "src") '(#:make-flags '("-C" "src")
@ -4726,6 +4727,7 @@ userspace queueing component and the logging subsystem.")
;; For 'mcookie', used by some of the tests. ;; For 'mcookie', used by some of the tests.
("util-linux" ,util-linux))) ("util-linux" ,util-linux)))
(inputs `(("talloc" ,talloc))) (inputs `(("talloc" ,talloc)))
(home-page "https://github.com/proot-me/PRoot")
(synopsis "Unprivileged chroot, bind mount, and binfmt_misc") (synopsis "Unprivileged chroot, bind mount, and binfmt_misc")
(description (description
"PRoot is a user-space implementation of @code{chroot}, @code{mount --bind}, "PRoot is a user-space implementation of @code{chroot}, @code{mount --bind},