aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/flashing-tools.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-02-24 12:22:17 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-02-24 13:37:04 +0100
commit659afdae5e3d45c832b4e9ab37420687d53f3f07 (patch)
tree08a8e9482dc2415f445437e0edec17c164c5e37a /gnu/packages/flashing-tools.scm
parent03df9e5a1e525afda2560ffccc7ac6f0b451efc0 (diff)
downloadgnu-guix-659afdae5e3d45c832b4e9ab37420687d53f3f07.tar
gnu-guix-659afdae5e3d45c832b4e9ab37420687d53f3f07.tar.gz
gnu: 0xffff: Don't use unstable tarball.
* gnu/packages/flashing-tools.scm (0xffff)[source]: Use GIT-FETCH and GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/flashing-tools.scm')
-rw-r--r--gnu/packages/flashing-tools.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index 9f621378c0..20e14417e4 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -100,13 +100,13 @@ programmer devices.")
(version "0.8")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/pali/0xffff/archive/"
- version ".tar.gz"))
- (file-name (string-append "0xFFFF" version ".tar.gz" ))
- (sha256
- (base32
- "1kk25m2gs417mfhwaq43d62yy5rsjb7llr07zf5aqx31csln3q8k"))))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pali/0xffff.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1a5b7k96vzirb0m8lqp7ldn77ppz4ngf56wslhsj2c6flcyvns4v"))))
(build-system gnu-build-system)
(inputs
`(("libusb" ,libusb-0.1))) ; doesn't work with libusb-compat