guix: mescc-tools: Update to 1.4.0

* gnu/packages/mes.scm (m2-planet): Update to 1.4.0.
[native-inputs]: Add which.
[argument]: Remove patch-prefix stage.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2022-05-01 23:04:03 +02:00
parent aa128eaa92
commit 79da3fc3e2
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -54,32 +54,27 @@
(define-public mescc-tools (define-public mescc-tools
(package (package
(name "mescc-tools") (name "mescc-tools")
(version "1.1.0") (version "1.4.0")
(source (source (origin
(origin (method git-fetch)
(method url-fetch) (uri (git-reference
(uri (string-append (url "https://git.savannah.nongnu.org/r/mescc-tools.git")
"http://git.savannah.nongnu.org/cgit/mescc-tools.git/snapshot/" (commit (string-append "Release_" version))
name "-Release_" version (recursive? #t))) ;for M2libc
".tar.gz")) (file-name (git-file-name name version))
(file-name (string-append name "-" version ".tar.gz")) (sha256
(sha256 (base32
(base32 "0z2ni2qn2np1walcaqlxz8sinzb78d4hiq9glddzf26wxc226hs4"))))
"12cjryqfd6m6j807pvhk7i4vr2q0jiibpfrpnq5s67iq9l4rrc6b"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(supported-systems (supported-systems
'("aarch64-linux" "armhf-linux" "i686-linux" "x86_64-linux")) '("aarch64-linux" "armhf-linux" "i686-linux" "x86_64-linux"))
(native-inputs (list which))
(arguments (arguments
`(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
(string-append "CC=" ,(cc-for-target))) (string-append "CC=" ,(cc-for-target)))
#:test-target "test" #:test-target "test"
#:phases (modify-phases %standard-phases #:phases (modify-phases %standard-phases
(delete 'configure) (delete 'configure))))
(add-after 'unpack 'patch-prefix
(lambda _
(substitute* "sha256.sh"
(("\\$\\(which sha256sum\\)") (which "sha256sum")))
#t)))))
(synopsis "Tools for the full source bootstrapping process") (synopsis "Tools for the full source bootstrapping process")
(description (description
"Mescc-tools is a collection of tools for use in a full source "Mescc-tools is a collection of tools for use in a full source