[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: gnu: spin2cpp: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
02/05: gnu: spin2cpp: Don't use unstable tarball. |
Date: |
Fri, 24 Jan 2020 03:45:00 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 02aab3df21d4f43076f4d34c600cb55dff448dab
Author: Efraim Flashner <address@hidden>
AuthorDate: Fri Jan 24 10:16:07 2020 +0200
gnu: spin2cpp: Don't use unstable tarball.
* gnu/packages/embedded.scm (spin2cpp)[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 b35c0a6..4307560 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -827,13 +827,14 @@ upload binaries to a Parallax Propeller
micro-controller.")
(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.