guix.scm 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. (use-modules (guix)
  2. (guix build-system cmake)
  3. (guix build-system gnu)
  4. (guix gexp)
  5. (guix git)
  6. (guix git-download)
  7. ((guix licenses) #:prefix license:)
  8. (guix packages)
  9. (gnu packages autotools)
  10. (gnu packages base)
  11. (gnu packages bash)
  12. (gnu packages gawk)
  13. (gnu packages glib)
  14. (gnu packages guile)
  15. (gnu packages guile-xyz)
  16. (gnu packages icu4c)
  17. (gnu packages llvm)
  18. (gnu packages ninja)
  19. (gnu packages node)
  20. (gnu packages pkg-config)
  21. (gnu packages perl)
  22. (gnu packages python)
  23. (gnu packages texinfo)
  24. (gnu packages version-control))
  25. (define guile-next-next
  26. (let ((commit "3b76a30e3ca1f0b7ee7944836c2fc5660596b3bd")
  27. (revision "1"))
  28. (package
  29. (inherit guile-next)
  30. (version (git-version "3.0.9" revision commit))
  31. (source
  32. (origin
  33. (method git-fetch)
  34. (uri (git-reference
  35. (url "https://git.savannah.gnu.org/git/guile.git")
  36. (commit commit)))
  37. (file-name (git-file-name "guile" version))
  38. (sha256
  39. (base32 "1cgyjz1x8zpfhsw8gsqkak1lnmi780gps6874ks0bi8dwk0lwx6f")))))))
  40. (package
  41. (name "guile-hoot")
  42. (version "0.5.0-git")
  43. (source (git-checkout (url (dirname (current-filename)))))
  44. (build-system gnu-build-system)
  45. (arguments
  46. '(#:make-flags '("GUILE_AUTO_COMPILE=0")))
  47. (native-inputs
  48. (list autoconf automake guile-syntax-highlight pkg-config texinfo))
  49. (inputs
  50. (list guile-next node))
  51. (synopsis "WebAssembly compiler for Guile Scheme")
  52. (description "Guile-hoot is an ahead-of-time, whole-program WebAssembly compiler for
  53. GNU Guile.")
  54. (home-page "https://spritely.institute/hoot")
  55. (license (list license:asl2.0 license:lgpl3+)))