gnu: python-parted: Don't use unstable tarball.

* gnu/packages/disk.scm (python-parted)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-06-23 20:07:34 +02:00
parent 2ea3bfe7cb
commit 455d29dda6
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 4 deletions

View File

@ -442,11 +442,13 @@ a card with a smaller capacity than stated.")
(version "3.11.2") (version "3.11.2")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/dcantrell/pyparted/archive/v" (uri (git-reference
version ".tar.gz")) (url "https://github.com/dcantrell/pyparted.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "18727vdscrdi2sza9la0y2xxfc4cqfl0ivjigx6m1q16jnaz84ml")))) (base32 "0r6916n3w4vldxrq30a3z2iagvxgly4vfmlidjm65vwqnyv17bvn"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases