Advertisement
Guest User

Untitled

a guest
Sep 11th, 2018
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. #!/bin/env guile
  2. !#
  3.  
  4. (use-modules ((gnu packages base)
  5. #:select (coreutils))
  6. ((guix packages)
  7. #:select (package origin base32))
  8. ((guix download)
  9. #:select (url-fetch))
  10. ((guix build-system gnu)
  11. #:select (gnu-build-system))
  12. ((guix licenses)
  13. #:select (expat)))
  14.  
  15. (package
  16. (name "roundup")
  17. (version "0.0.6")
  18. (source
  19. (origin
  20. (method url-fetch)
  21. (uri (string-append "https://github.com/bmizerany/roundup/archive/v" version ".tar.gz"))
  22. (sha256
  23. (base32 "077h6qby827zwj82w1bpxp6dm812w5ypr6hy9g2wprsvxm1i0x10"))))
  24. (build-system gnu-build-system)
  25. (arguments
  26. `(#:phases
  27. (modify-phases %standard-phases
  28. (replace 'configure
  29. (lambda* (#:key inputs outputs (configure-flags '()) #:allow-other-keys)
  30. (let ((out (assoc-ref outputs "out")))
  31. (apply invoke
  32. `("./configure"
  33. ,(string-append "--prefix=" out)
  34. ,(string-append "--sysconfdir=/etc")
  35. ,@configure-flags))))))))
  36. (synopsis "Testing framework for shell scripts")
  37. (description "roundup - kills shell eating bugs and weeds
  38.  
  39. roundup is a unit testing tool for running roundup test plans which are written
  40. in any POSIX shell. Each test in a plan is run in its own isolated sandbox. A
  41. test can pass, be ignored, or fail. Failed tests output their `set -x` trace.")
  42. (home-page "http://bmizerany.github.io/roundup/")
  43. (license expat))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement