aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/disk.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-06-23 20:07:34 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2019-06-24 13:25:27 +0200
commit455d29dda6e1798e8f004296024db6658645a3e6 (patch)
tree16c79735b132e48886452fd53b43b2cf93b7b886 /gnu/packages/disk.scm
parent2ea3bfe7cb0e7a080fb4797853cca5a5e4e75b38 (diff)
downloadpatches-455d29dda6e1798e8f004296024db6658645a3e6.tar
patches-455d29dda6e1798e8f004296024db6658645a3e6.tar.gz
gnu: python-parted: Don't use unstable tarball.
* gnu/packages/disk.scm (python-parted)[source]: Use GIT-FETCH and GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/disk.scm')
-rw-r--r--gnu/packages/disk.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 50b28e9d02..06f4430b2d 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -442,11 +442,13 @@ a card with a smaller capacity than stated.")
(version "3.11.2")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/dcantrell/pyparted/archive/v"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dcantrell/pyparted.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "18727vdscrdi2sza9la0y2xxfc4cqfl0ivjigx6m1q16jnaz84ml"))))
+ (base32 "0r6916n3w4vldxrq30a3z2iagvxgly4vfmlidjm65vwqnyv17bvn"))))
(build-system python-build-system)
(arguments
`(#:phases