gnu: spin2cpp: Don't use unstable tarball.

* gnu/packages/embedded.scm (spin2cpp)[source]: Download using git-fetch.
This commit is contained in:
Efraim Flashner 2020-01-24 10:16:07 +02:00
parent 9be1f2b77c
commit 02aab3df21
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -827,13 +827,14 @@ (define-public spin2cpp
(name "spin2cpp")
(version "3.6.4")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/totalspectrum/spin2cpp/"
"archive/v" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/totalspectrum/spin2cpp")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"05qak187sn0xg7vhrxw27b19xhmid1b8ab8kax3gv0faavzablfw"))))
"0wznqvsckzzz4hdy2rpvj6jqpxw4yn7i0c7zxfm6i46k8gg9327b"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ;; The tests assume that a micro-controller is connected.