From 79da3fc3e287979f1c28fcedcdef6ff86737a0f8 Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Sun, 1 May 2022 23:04:03 +0200 Subject: [PATCH] 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. --- guix/git/mes.scm | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/guix/git/mes.scm b/guix/git/mes.scm index 8be31f4c..4a5f22a2 100644 --- a/guix/git/mes.scm +++ b/guix/git/mes.scm @@ -54,32 +54,27 @@ (define-public mescc-tools (package (name "mescc-tools") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (string-append - "http://git.savannah.nongnu.org/cgit/mescc-tools.git/snapshot/" - name "-Release_" version - ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "12cjryqfd6m6j807pvhk7i4vr2q0jiibpfrpnq5s67iq9l4rrc6b")))) + (version "1.4.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.savannah.nongnu.org/r/mescc-tools.git") + (commit (string-append "Release_" version)) + (recursive? #t))) ;for M2libc + (file-name (git-file-name name version)) + (sha256 + (base32 + "0z2ni2qn2np1walcaqlxz8sinzb78d4hiq9glddzf26wxc226hs4")))) (build-system gnu-build-system) (supported-systems '("aarch64-linux" "armhf-linux" "i686-linux" "x86_64-linux")) + (native-inputs (list which)) (arguments `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) (string-append "CC=" ,(cc-for-target))) #:test-target "test" #:phases (modify-phases %standard-phases - (delete 'configure) - (add-after 'unpack 'patch-prefix - (lambda _ - (substitute* "sha256.sh" - (("\\$\\(which sha256sum\\)") (which "sha256sum"))) - #t))))) + (delete 'configure)))) (synopsis "Tools for the full source bootstrapping process") (description "Mescc-tools is a collection of tools for use in a full source