guix.scm 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. ;;; Commentary:
  2. ;;
  3. ;; GNU Guix development package. To build and install, run:
  4. ;;
  5. ;; guix package -f guix.scm
  6. ;;
  7. ;; To use as the basis for a development environment, run:
  8. ;;
  9. ;; guix environment -l guix.scm
  10. ;;
  11. ;;; Code:
  12. (use-modules (guix packages)
  13. (guix licenses)
  14. (guix git-download)
  15. (guix build-system gnu)
  16. (gnu packages)
  17. (gnu packages autotools)
  18. (gnu packages guile)
  19. (gnu packages texinfo)
  20. (gnu packages pkg-config))
  21. ;; @@: Not used currently, but leaving it here in case we need to use it again :)
  22. (define haunt-from-git
  23. (package
  24. (name "haunt")
  25. (version "git-37b4cde")
  26. (source (origin
  27. (method git-fetch)
  28. (uri (git-reference
  29. (url "git://dthompson.us/haunt.git")
  30. (commit "37b4cde")))
  31. (sha256
  32. (base32
  33. "1n7y2gpgiq0rb1jphr2q05cl3kf0khfsrf52x0n5zwpn60snrnyr"))))
  34. (build-system gnu-build-system)
  35. (arguments
  36. '(#:phases
  37. (modify-phases %standard-phases
  38. (add-after 'unpack 'bootstrap
  39. (lambda _ (zero? (system* "sh" "bootstrap")))))))
  40. (native-inputs
  41. `(("autoconf" ,autoconf)
  42. ("automake" ,automake)
  43. ("pkg-config" ,pkg-config)
  44. ("texinfo" ,texinfo)))
  45. (inputs
  46. `(("guile" ,guile-2.0)))
  47. (propagated-inputs
  48. `(("guile-reader" ,guile-reader)))
  49. (synopsis "Functional static site generator")
  50. (description "Haunt is a static site generator written in Guile
  51. Scheme. Haunt features a functional build system and an extensible
  52. interface for reading articles in any format.")
  53. (home-page "http://haunt.dthompson.us")
  54. (license gpl3+)))
  55. (define guile-syntax-highlight
  56. (package
  57. (name "guile-syntax-highlight")
  58. (version "git-a047675")
  59. (source (origin
  60. (method git-fetch)
  61. (uri (git-reference
  62. (url "git://dthompson.us/guile-syntax-highlight.git")
  63. (commit "a047675")))
  64. (sha256
  65. (base32
  66. "1zjr6sg3n7xbdsliy45i39dqanxvcms58ayx36wxrz72zpq58vq3"))))
  67. (build-system gnu-build-system)
  68. (arguments
  69. '(#:phases
  70. (modify-phases %standard-phases
  71. (add-after 'unpack 'bootstrap
  72. (lambda _ (zero? (system* "sh" "bootstrap")))))))
  73. (native-inputs
  74. `(("autoconf" ,autoconf)
  75. ("automake" ,automake)
  76. ("pkg-config" ,pkg-config)))
  77. (inputs
  78. `(("guile" ,guile-2.0)))
  79. (synopsis "General-purpose syntax highlighter for GNU Guile")
  80. (description "Guile-syntax-highlight is a general-purpose syntax
  81. highlighting library for GNU Guile. It can parse code written in
  82. various programming languages into a simple s-expression that can be
  83. converted to HTML (via SXML) or any other format for rendering.")
  84. (home-page "http://dthompson.us/software/guile-syntax-highlight")
  85. (license lgpl3+)))
  86. (package
  87. (name "stlog-website")
  88. (version "git")
  89. (source #f)
  90. (build-system gnu-build-system)
  91. (synopsis #f)
  92. (description #f)
  93. (license #f)
  94. (home-page #f)
  95. (inputs
  96. `(("guile" ,guile-2.0)))
  97. (propagated-inputs
  98. `(("haunt" ,haunt) ; haunt from Guix proper, for now
  99. ("guile-syntax-highlight" ,guile-syntax-highlight))))