diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-01-24 10:24:12 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-24 10:24:12 +0200 |
commit | fe1506a0ca5c48ef927bc207a6d08c7573c1ae25 (patch) | |
tree | 1965bc28500e73425941d0b6b20f6f5dc3e4fefc /gnu/packages/embedded.scm | |
parent | 02aab3df21d4f43076f4d34c600cb55dff448dab (diff) | |
download | guix-fe1506a0ca5c48ef927bc207a6d08c7573c1ae25.tar.gz |
gnu: stlink: Don't use unstable tarball.
* gnu/packages/embedded.scm (stlink)[source]: Download using git-fetch.
Diffstat (limited to 'gnu/packages/embedded.scm')
-rw-r--r-- | gnu/packages/embedded.scm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 43075603c8..d5ea86225e 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -1262,13 +1262,14 @@ and displaying decoded target responses. (version "1.5.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/texane/stlink/archive/v" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/texane/stlink") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "01z1cz1a5xbbhd163qrqcgp4bi1k145pb80jmwdz50g7sfzmy570")))) + "1d5gxiqpsm8fc105cxlp27af9fk339fap5h6nay21x5a7n61jgyc")))) (build-system cmake-build-system) (arguments `(#:tests? #f ;no tests |