aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/mes.scm
diff options
context:
space:
mode:
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>2020-12-19 10:06:07 +0100
committerJan (janneke) Nieuwenhuizen <janneke@gnu.org>2021-03-14 11:50:43 +0100
commit87a8eaf671f7619df782a662c12a4ffeba8183dc (patch)
tree86d6cca867195bfeaef3ff4a4b9f2cb3f6061dd0 /gnu/packages/mes.scm
parent930d22883d96adee9d2f4676dbb317ef77b9d3b9 (diff)
downloadguix-87a8eaf671f7619df782a662c12a4ffeba8183dc.tar
guix-87a8eaf671f7619df782a662c12a4ffeba8183dc.tar.gz
gnu: mescc-tools: Update to 0.7.0.
* gnu/packages/mes.scm (mescc-tools)[source]: Update to 0.7.0. [arguments]: Add patch-prefix phase to remove hardcoded "/usr/bin".
Diffstat (limited to 'gnu/packages/mes.scm')
-rw-r--r--gnu/packages/mes.scm31
1 files changed, 20 insertions, 11 deletions
diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index 5ceb1c6151..c9dd98ccd4 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -293,21 +293,30 @@ get_machine.")
(package
(inherit mescc-tools-0.5.2)
(name "mescc-tools")
- (version "0.6.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://git.savannah.nongnu.org/r/mescc-tools.git")
- (commit (string-append "Release_" version))))
- (file-name (string-append "mescc-tools-" version "-checkout"))
- (sha256
- (base32
- "1cgxcdza6ws725x84i31la7jxmlk5a3nsij5shz1zljg0i36kj99"))))
+ (version "0.7.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
+ "1p1ijia4rm3002f5sypidl9v5gq0mlch9b0n61rpxkdsaaxjqax3"))))
(arguments
(substitute-keyword-arguments (package-arguments mescc-tools-0.5.2)
((#:make-flags _)
`(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
- "CC=gcc"))))))
+ "CC=gcc"))
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'patch-prefix
+ (lambda _
+ (substitute* "sha256.sh"
+ (("/usr/bin/sha256sum") (which "sha256sum")))
+ #t))))))))
(define-public m2-planet
(let ((commit "b87ddb0051b168ea45f8d49a610dcd069263336a")