Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (package
- (name "roundup")
- (version "0.0.6")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://github.com/bmizerany/roundup/archive/v" version ".tar.gz"))
- (sha256
- (base32 "077h6qby827zwj82w1bpxp6dm812w5ypr6hy9g2wprsvxm1i0x10"))))
- (build-system gnu-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'configure 'fix-configure
- (lambda _
- (substitute* "configure" (("getconf PATH") "echo $PATH"))))
- (replace 'configure
- (lambda* (#:key inputs outputs (configure-flags '()) #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (apply invoke
- `("./configure"
- ,(string-append "--prefix=" out)
- ,(string-append "--sysconfdir=/etc")
- ,(string-append "PATH=" (getenv "PATH"))
- ,(string-append "SHELL=" "bash")
- ,@configure-flags)))))
- (replace 'build
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (apply invoke
- `("make"
- ,(string-append "SHELL=bash")))))
- (delete 'check)
- (replace 'install
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (apply invoke
- `("make"
- "install"
- ,(string-append "SHELL=bash"))))))))
- (synopsis "Testing framework for shell scripts")
- (description "roundup - kills shell eating bugs and weeds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement