Advertisement
Guest User

Untitled

a guest
Sep 11th, 2018
104
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (package
  2. (name "roundup")
  3. (version "0.0.6")
  4. (source
  5. (origin
  6. (method url-fetch)
  7. (uri (string-append "https://github.com/bmizerany/roundup/archive/v" version ".tar.gz"))
  8. (sha256
  9. (base32 "077h6qby827zwj82w1bpxp6dm812w5ypr6hy9g2wprsvxm1i0x10"))))
  10. (build-system gnu-build-system)
  11. (arguments
  12. `(#:phases
  13. (modify-phases %standard-phases
  14. (add-before 'configure 'fix-configure
  15. (lambda _
  16. (substitute* "configure" (("getconf PATH") "echo $PATH"))))
  17. (replace 'configure
  18. (lambda* (#:key inputs outputs (configure-flags '()) #:allow-other-keys)
  19. (let ((out (assoc-ref outputs "out")))
  20. (apply invoke
  21. `("./configure"
  22. ,(string-append "--prefix=" out)
  23. ,(string-append "--sysconfdir=/etc")
  24. ,(string-append "PATH=" (getenv "PATH"))
  25. ,(string-append "SHELL=" "bash")
  26. ,@configure-flags)))))
  27. (replace 'build
  28. (lambda* (#:key inputs outputs #:allow-other-keys)
  29. (apply invoke
  30. `("make"
  31. ,(string-append "SHELL=bash")))))
  32. (delete 'check)
  33. (replace 'install
  34. (lambda* (#:key inputs outputs #:allow-other-keys)
  35. (apply invoke
  36. `("make"
  37. "install"
  38. ,(string-append "SHELL=bash"))))))))
  39. (synopsis "Testing framework for shell scripts")
  40. (description "roundup - kills shell eating bugs and weeds
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement