gnu: mescc-tools: Use 'git-fetch'.

* gnu/packages/mes.scm (mescc-tools-0.5.2)[source]: Use 'git-fetch'.
(mescc-tools)[source]: Likewise.
This commit is contained in:
Ludovic Courtès 2019-10-12 12:22:18 +02:00
parent 99b73d0f0c
commit 81a4ca08f7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -159,16 +159,16 @@ (define-public mescc-tools-0.5.2
(version "0.5.2")) (version "0.5.2"))
(package (package
(name "mescc-tools") (name "mescc-tools")
(version (string-append version "-" revision "." (string-take commit 7))) (version (git-version version revision commit))
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://git.savannah.nongnu.org/cgit/mescc-tools.git/snapshot/" (url "https://git.savannah.nongnu.org/r/mescc-tools.git")
name "-" commit (commit commit)))
".tar.gz")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1h6j57wyf91i42b26f8msbv6451cw3nm4nmpl1fckp9c7vi8mwkh")))) "1nc6rnax66vmhqsjg0kgx23pihdcxmww6v325ywf59vsq1jqjvff"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(supported-systems '("i686-linux" "x86_64-linux")) (supported-systems '("i686-linux" "x86_64-linux"))
(arguments (arguments
@ -191,15 +191,14 @@ (define-public mescc-tools
(name "mescc-tools") (name "mescc-tools")
(version "0.6.1") (version "0.6.1")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"http://git.savannah.nongnu.org/cgit/mescc-tools.git/snapshot/" (url "https://git.savannah.nongnu.org/r/mescc-tools.git")
name "-Release_" version (commit (string-append "Release_" version))))
".tar.gz")) (file-name (string-append "mescc-tools-" version "-checkout"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"06jpvq6xfjzn2al6b4rdwd3zv3h4cvilc4n9gqcnjr9cr6wjpw2n")))) "1cgxcdza6ws725x84i31la7jxmlk5a3nsij5shz1zljg0i36kj99"))))
(arguments (arguments
(substitute-keyword-arguments (package-arguments mescc-tools-0.5.2) (substitute-keyword-arguments (package-arguments mescc-tools-0.5.2)
((#:make-flags _) ((#:make-flags _)