From 659afdae5e3d45c832b4e9ab37420687d53f3f07 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 24 Feb 2019 12:22:17 +0100 Subject: gnu: 0xffff: Don't use unstable tarball. * gnu/packages/flashing-tools.scm (0xffff)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/flashing-tools.scm | 14 +++++++------- 1 file 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 -- cgit v1.2.3