guix.scm 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. ;;; Haunt --- Static site generator for GNU Guile
  2. ;;; Copyright © 2015 David Thompson <davet@gnu.org>
  3. ;;;
  4. ;;; This file is part of Haunt.
  5. ;;;
  6. ;;; Haunt is free software; you can redistribute it and/or modify it
  7. ;;; under the terms of the GNU General Public License as published by
  8. ;;; the Free Software Foundation; either version 3 of the License, or
  9. ;;; (at your option) any later version.
  10. ;;;
  11. ;;; Haunt is distributed in the hope that it will be useful, but
  12. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. ;;; General Public License for more details.
  15. ;;;
  16. ;;; You should have received a copy of the GNU General Public License
  17. ;;; along with Haunt. If not, see <http://www.gnu.org/licenses/>.
  18. ;;; Commentary:
  19. ;;
  20. ;; GNU Guix development package. To build and install, run:
  21. ;;
  22. ;; guix package -f guix.scm
  23. ;;
  24. ;; To use as the basis for a development environment, run:
  25. ;;
  26. ;; guix environment -l guix.scm
  27. ;;
  28. ;;; Code:
  29. (use-modules (guix packages)
  30. (guix licenses)
  31. (guix git-download)
  32. (guix build-system gnu)
  33. (gnu packages)
  34. (gnu packages autotools)
  35. (gnu packages guile)
  36. (gnu packages texinfo)
  37. (gnu packages pkg-config))
  38. ;; @@: Not used currently, but leaving it here in case we need to use it again :)
  39. (define haunt-from-git
  40. (package
  41. (name "haunt")
  42. (version "git-37b4cde")
  43. (source (origin
  44. (method git-fetch)
  45. (uri (git-reference
  46. (url "git://dthompson.us/haunt.git")
  47. (commit "37b4cde")))
  48. (sha256
  49. (base32
  50. "1n7y2gpgiq0rb1jphr2q05cl3kf0khfsrf52x0n5zwpn60snrnyr"))))
  51. (build-system gnu-build-system)
  52. (arguments
  53. '(#:phases
  54. (modify-phases %standard-phases
  55. (add-after 'unpack 'bootstrap
  56. (lambda _ (zero? (system* "sh" "bootstrap")))))))
  57. (native-inputs
  58. `(("autoconf" ,autoconf)
  59. ("automake" ,automake)
  60. ("pkg-config" ,pkg-config)
  61. ("texinfo" ,texinfo)))
  62. (inputs
  63. `(("guile" ,guile-2.0)))
  64. (propagated-inputs
  65. `(("guile-reader" ,guile-reader)))
  66. (synopsis "Functional static site generator")
  67. (description "Haunt is a static site generator written in Guile
  68. Scheme. Haunt features a functional build system and an extensible
  69. interface for reading articles in any format.")
  70. (home-page "http://haunt.dthompson.us")
  71. (license gpl3+)))
  72. (package
  73. (name "8sync-website")
  74. (version "git")
  75. (source #f)
  76. (build-system gnu-build-system)
  77. (synopsis #f)
  78. (description #f)
  79. (license #f)
  80. (home-page #f)
  81. (inputs
  82. `(("guile" ,guile-2.2)))
  83. (propagated-inputs
  84. `(("haunt" ,haunt) ; haunt from Guix proper, for now
  85. ("guile-syntax-highlight" ,guile-syntax-highlight))))