aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-24 10:24:12 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-24 10:24:12 +0200
commitfe1506a0ca5c48ef927bc207a6d08c7573c1ae25 (patch)
tree1965bc28500e73425941d0b6b20f6f5dc3e4fefc /gnu/packages
parent02aab3df21d4f43076f4d34c600cb55dff448dab (diff)
downloadpatches-fe1506a0ca5c48ef927bc207a6d08c7573c1ae25.tar
patches-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')
-rw-r--r--gnu/packages/embedded.scm11
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