guix.scm 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. ;;; Joy -- implementation of the Joy programming language
  2. ;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
  3. ;;;
  4. ;;; Joy is free software; you can redistribute it and/or modify it
  5. ;;; under the terms of the GNU General Public License as published by
  6. ;;; the Free Software Foundation; either version 3 of the License, or
  7. ;;; (at your option) any later version.
  8. ;;;
  9. ;;; Joy is distributed in the hope that it will be useful, but WITHOUT
  10. ;;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  11. ;;; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
  12. ;;; License for more details.
  13. ;;;
  14. ;;; You should have received a copy of the GNU General Public License
  15. ;;; along with Joy. If not, see <http://www.gnu.org/licenses/>.
  16. ;;; Use this to build joy with GNU Guix:
  17. ;;; `guix build -f ./guix.scm`
  18. (use-modules (guix packages)
  19. (guix licenses)
  20. (guix git-download)
  21. (guix build-system gnu)
  22. (gnu packages)
  23. (gnu packages autotools)
  24. (gnu packages guile)
  25. (gnu packages texinfo))
  26. (package
  27. (name "joy")
  28. (version "0.0.0") ;TODO: Pull this from somewhere central
  29. (source
  30. (origin (method git-fetch)
  31. (uri (git-reference
  32. (url "git://gitlab.nahne.info/joy.git")
  33. (commit "")))
  34. (sha256
  35. (base32
  36. "")))) ;TODO: Compute this?
  37. (build-system gnu-build-system)
  38. (native-inputs
  39. `(("autoconf" ,autoconf)
  40. ("automake" ,automake)
  41. ("texinfo" ,texinfo)))
  42. (inputs
  43. `(("guile" ,guile)))
  44. (synopsis "Joy language in Guile")
  45. (description
  46. "Joy is an implementation of the Joy programming language in Guile
  47. Scheme using its multi-language support.")
  48. (home-page "http://nahne.info/joy")
  49. (license gpl3+))