diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-11-19 17:19:54 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-11-20 10:02:46 +0200 |
commit | 02191009a5e2070f1cb9c21f619ef782e18dfebd (patch) | |
tree | 8170d356704d65d598d17b3a01c6ed2d72476b55 /gnu/packages/flashing-tools.scm | |
parent | 7afb97fdb5d92d30eebc9e9d6f18b83e98b5c813 (diff) | |
download | guix-02191009a5e2070f1cb9c21f619ef782e18dfebd.tar.gz |
gnu: teensy-loader-cli: Don't use unstable tarball.
* gnu/packages/flashing-tools.scm (teensy-loader-cli)[version]: Use git-version. [source]: Download using git-fetch.
Diffstat (limited to 'gnu/packages/flashing-tools.scm')
-rw-r--r-- | gnu/packages/flashing-tools.scm | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm index 7d5c1cf723..51a0e0d9b9 100644 --- a/gnu/packages/flashing-tools.scm +++ b/gnu/packages/flashing-tools.scm @@ -211,14 +211,15 @@ firmware from it.") (let ((commit "f289b7a2e5627464044249f0e5742830e052e360")) (package (name "teensy-loader-cli") - (version (string-append "2.1-1." (string-take commit 7))) + (version (git-version "2.1" "1" commit)) (source (origin - (method url-fetch) - (uri (string-append "https://github.com/PaulStoffregen/" - "teensy_loader_cli/archive/" commit ".tar.gz")) - (sha256 (base32 "17wqc2q4fa473cy7f5m2yiyb9nq0qw7xal2kzrxzaikgm9rabsw8")) - (file-name (string-append "teensy-loader-cli-" version ".tar.gz" )) + (method git-fetch) + (uri (git-reference + (url "https://github.com/PaulStoffregen/teensy_loader_cli.git") + (commit commit))) + (sha256 (base32 "0sssim56pwsxp5cp5dlf6mi9h5fx2592m6j1g7abnm0s09b0lpdx")) + (file-name (git-file-name name version)) (modules '((guix build utils))) (snippet `(begin |