guix: m2-planet: Update to 1.7.0.

* guix/git/mes.scm (m2-planet)[source]: Update to 1.7.0.
(native-inputs): Remove gcc-toolchain-7.
[arguments]: Add CC to make-flags.  Update sha256sum patch.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-12-29 11:28:13 +01:00
parent 795225ec29
commit b4f57f158a
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -90,37 +90,41 @@ get_machine.")
(license gpl3+))) (license gpl3+)))
(define-public m2-planet (define-public m2-planet
(let ((commit "1fc2aeab483208bd2ba117b21df3894c182470ec") (package
(revision "0")) (name "m2-planet")
(package (version "1.7.0")
(name "m2-planet") (source
(version (string-append "1.4.0-" revision "." (string-take commit 7))) (origin
(source (origin (method git-fetch)
(method git-fetch) (uri (git-reference
(uri (git-reference (url "https://github.com/oriansj/m2-planet.git")
(url "https://github.com/oriansj/m2-planet.git") (commit (string-append "Release_" version))))
(commit commit))) (file-name (string-append name "-" version ".tar.gz"))
(file-name (git-file-name name version)) (sha256
(sha256 (base32
(base32 "052j63xv44zqy7jndjw36jpyciz00p11d78w2rhy539qa5vdzad7"))))
"1fj3xiqcibdfi78b43nn6w8hs3vkz32yb06n8r5mna8pnjdmn00l")))) (native-inputs
(native-inputs `(("mescc-tools" ,mescc-tools)))
`(("gcc-toolchain" ,gcc-toolchain-7) (build-system gnu-build-system)
("mescc-tools" ,mescc-tools))) (arguments
(build-system gnu-build-system) `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
(arguments (string-append "CC=" ,(cc-for-target)))
`(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:tests? #f
#:tests? #f #:phases (modify-phases %standard-phases
#:phases (modify-phases %standard-phases (delete 'bootstrap)
(delete 'bootstrap) (delete 'configure)
(delete 'configure)))) (add-after 'unpack 'patch-prefix
(synopsis "The PLAtform NEutral Transpiler") (lambda _
(description (substitute* "sha256.sh"
"M2-Planet, The PLAtform NEutral Transpiler, when combined with (("\\$\\(which sha256sum\\)") (which "sha256sum")))
#t)))))
(synopsis "The PLAtform NEutral Transpiler")
(description
"M2-Planet, The PLAtform NEutral Transpiler, when combined with
mescc-tools compiles a subset of the C language into working binaries mescc-tools compiles a subset of the C language into working binaries
with introspective steps inbetween.") with introspective steps inbetween.")
(home-page "https://savannah.nongnu.org/projects/mescc-tools") (home-page "https://savannah.nongnu.org/projects/mescc-tools")
(license gpl3+)))) (license gpl3+)))
(define-public nyacc-0.99 (define-public nyacc-0.99
(package (package