mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 03:29:40 -05:00
gnu: stress-make: Fix build and update.
* gnu/packages/debug.scm (stress-make)[version]: Update to latest upstream commit. Bump revision. Use 'git-version'. [source]: Update url. Use 'git-file-name'. [home-page]: Update url likewise. [arguments]: Add 'setup-go' phase. [license]: Update license file name.
This commit is contained in:
parent
217f22d16a
commit
136e3b392b
1 changed files with 13 additions and 9 deletions
|
@ -264,21 +264,21 @@ (define-public american-fuzzy-lop
|
||||||
(license asl2.0))))
|
(license asl2.0))))
|
||||||
|
|
||||||
(define-public stress-make
|
(define-public stress-make
|
||||||
(let ((commit "506e6cfd98d165f22bee91c408b7c20117a682c4")
|
(let ((commit "9e92dff8f0157f012aaf31de5b8b8112ad720100")
|
||||||
(revision "0")) ;No official source distribution
|
(revision "1")) ;No official source distribution
|
||||||
(package
|
(package
|
||||||
(name "stress-make")
|
(name "stress-make")
|
||||||
(version (string-append "1.0-" revision "." (string-take commit 7)))
|
(version (git-version "1.0" revision commit))
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/losalamos/stress-make.git")
|
(url "https://github.com/lanl/stress-make.git")
|
||||||
(commit commit)))
|
(commit commit)))
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1j330yqhc7plwin04qxbh8afpg5nfnw1xvnmh8rk6mmqg9w6ik70"))))
|
"1z1yiwnqyzv3v6152fnjbfh2lr8q8fi5xxfdclnr8l8sd4c1rasp"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("autoconf" ,autoconf)
|
`(("autoconf" ,autoconf)
|
||||||
|
@ -308,8 +308,12 @@ (define-public stress-make
|
||||||
(which "sh"))))))
|
(which "sh"))))))
|
||||||
(add-before 'configure 'repack-make
|
(add-before 'configure 'repack-make
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "tar" "cJf" "./make.tar.xz" ,make-dir)))))))
|
(invoke "tar" "cJf" "./make.tar.xz" ,make-dir)))
|
||||||
(home-page "https://github.com/losalamos/stress-make")
|
(add-before 'build 'setup-go
|
||||||
|
;; The Go cache is required starting in Go 1.12, and it needs
|
||||||
|
;; to be writable.
|
||||||
|
(lambda _ (setenv "GOCACHE" "/tmp/go-cache") #t))))))
|
||||||
|
(home-page "https://github.com/lanl/stress-make")
|
||||||
(synopsis "Expose race conditions in Makefiles")
|
(synopsis "Expose race conditions in Makefiles")
|
||||||
(description
|
(description
|
||||||
"Stress Make is a customized GNU Make that explicitly manages the order
|
"Stress Make is a customized GNU Make that explicitly manages the order
|
||||||
|
@ -320,7 +324,7 @@ (define-public stress-make
|
||||||
conditions.")
|
conditions.")
|
||||||
;; stress-make wrapper is under BSD-3-modifications-must-be-indicated,
|
;; stress-make wrapper is under BSD-3-modifications-must-be-indicated,
|
||||||
;; and patched GNU Make is under its own license.
|
;; and patched GNU Make is under its own license.
|
||||||
(license (list (non-copyleft "COPYING.md")
|
(license (list (non-copyleft "LICENSE.md")
|
||||||
(package-license gnu-make))))))
|
(package-license gnu-make))))))
|
||||||
|
|
||||||
(define-public zzuf
|
(define-public zzuf
|
||||||
|
|
Loading…
Reference in a new issue