From fe1506a0ca5c48ef927bc207a6d08c7573c1ae25 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 24 Jan 2020 10:24:12 +0200 Subject: gnu: stlink: Don't use unstable tarball. * gnu/packages/embedded.scm (stlink)[source]: Download using git-fetch. --- gnu/packages/embedded.scm | 11 ++++++----- 1 file 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 -- cgit v1.2.3