manifest.scm 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. (use-modules (gnu)
  2. ((gnu packages autotools) #:select (autoconf automake))
  3. ((gnu packages compression) #:select (bzip2))
  4. ((gnu packages guile) #:select (guile-3.0 guile-bytestructures))
  5. ((gnu packages pkg-config) #:select (pkg-config))
  6. (guix build-system gnu)
  7. (guix download)
  8. (guix git-download)
  9. ((guix licenses) #:prefix license:)
  10. (guix packages)
  11. (guix profiles))
  12. (define guile-bzip2
  13. (package
  14. (name "guile-bzip2")
  15. (version "0.1.0")
  16. (source
  17. (origin
  18. (method url-fetch)
  19. (uri (string-append "https://files.ngyro.com/guile-bzip2/"
  20. "guile-bzip2-" version ".tar.gz"))
  21. (sha256
  22. (base32 "1qnxk5fzg8m9ik1ckhjvi22kkhd810mrg8jzxiizhk920b69wbdh"))))
  23. (build-system gnu-build-system)
  24. (native-inputs
  25. (list autoconf
  26. automake
  27. guile-3.0
  28. guile-bytestructures
  29. pkg-config))
  30. (inputs (list guile-3.0 bzip2))
  31. (propagated-inputs (list guile-bytestructures))
  32. (home-page "http://git.ngyro.com/guile-bzip2/")
  33. (synopsis "Guile bindings for libbzip2")
  34. (description "Guile-bzip2 is a Guile wrapper for the libbzip2
  35. library. It exposes an interface similar to other Guile compression
  36. libraries, like Guile-zlib.")
  37. (license license:gpl3+)))
  38. (packages->manifest
  39. (cons guile-bzip2
  40. (map specification->package
  41. '("autoconf"
  42. "automake"
  43. "gcc-toolchain"
  44. "guile"
  45. "guile-gcrypt"
  46. "guile-lzma"
  47. "guile-quickcheck"
  48. "make"
  49. "perl"
  50. "pkg-config"
  51. "zlib"))))