manifest.scm 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. (use-modules (gnu)
  2. ((gnu packages autotools) #:select (autoconf automake))
  3. ((gnu packages compression) #:select (xz))
  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-lzma
  13. (package
  14. (name "guile-lzma")
  15. (version "0.1.0")
  16. (source
  17. (origin
  18. (method url-fetch)
  19. (uri (string-append "https://files.ngyro.com/guile-lzma/guile-lzma-"
  20. version ".tar.gz"))
  21. (sha256
  22. (base32 "1f7pd3frckpwsi5p0bln4wf8xy41x0szlpy273phjdmjacw69hzb"))))
  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 xz))
  31. (propagated-inputs (list guile-bytestructures))
  32. (home-page "http://git.ngyro.com/guile-lzma/")
  33. (synopsis "Guile bindings for liblzma (XZ)")
  34. (description "Guile-LZMA is a Guile wrapper for the liblzma (XZ)
  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-lzma
  40. (map specification->package
  41. '("autoconf"
  42. "automake"
  43. "gcc-toolchain"
  44. "guile"
  45. "guile-gcrypt"
  46. "guile-quickcheck"
  47. "make"
  48. "perl"
  49. "pkg-config"
  50. "zlib"))))