1(use-modules (guix packages)2 (guix download)3 ((guix licenses) #:prefix license:)4 (guix gexp)5 (guix build-system haskell)6 (gnu packages bash)7 (gnu packages commencement)8 (gnu packages haskell)9 (gnu packages haskell-apps)10 (gnu packages haskell-check)11 (gnu packages haskell-web)12 (gnu packages haskell-xyz)13 (gnu packages linux))1415(define-public ghc-lrucache16 (package17 (name "ghc-lrucache")18 (version "1.2.0.1")19 (source20 (origin21 (method url-fetch)22 (uri (hackage-uri "lrucache" version))23 (sha25624 (base32 "11avhnjnb89rvn2s41jhh5r40zgp7r6kb5c0hcfiibpabqvv46pw"))))25 (build-system haskell-build-system)26 (properties '((upstream-name . "lrucache")))27 (inputs (list ghc-contravariant))28 (arguments29 `(#:cabal-revision ("1"30 "0v2wc5k2knvv5knbarzspmbzf657r52jyjm9kf6r4ylsmi9cbq0k")))31 (home-page "https://github.com/chowells79/lrucache")32 (synopsis "Implementation of a simple LRU cache")33 (description34 "This package contains a simple and pure @acronym{LRU, Least Recently35Used} cache. The implementation is based on @code{Data.Map} from the36@code{containers} library. Further, the package also containes a multiple IO37wrapper that enables atomic updates of the cache.")38 (license license:bsd-3)))3940(define-public ghc-hakyll41 (package42 (name "ghc-hakyll")43 (version "4.16.7.1")44 (source45 (origin46 (method url-fetch)47 (uri (hackage-uri "hakyll" version))48 (sha25649 (base32 "18wg5ay6l3ngsmqq00g6y7djmg4f8285kwdi47g0rg70mq6sn0py"))))50 (build-system haskell-build-system)51 (arguments52 (list53 #:phases54 #~(modify-phases %standard-phases55 (add-after 'unpack 'fix-paths56 (lambda* (#:key inputs #:allow-other-keys)57 (substitute* "tests/Hakyll/Core/UnixFilter/Tests.hs"58 (("unixFilter \"([^\"]+)\"" all cmd)59 (string-append60 "unixFilter "61 "\""62 (search-input-file inputs (string-append "/bin/" cmd))63 "\""))))))))64 (properties '((upstream-name . "hakyll")))65 (inputs (list ghc-aeson66 ghc-blaze-html67 ghc-data-default68 ghc-file-embed69 ghc-hashable70 ghc-lrucache71 ghc-network-uri72 ghc-optparse-applicative73 ghc-random74 ghc-regex-tdfa75 ghc-resourcet76 ghc-scientific77 ghc-tagsoup78 ghc-time-locale-compat79 ghc-vector80 ghc-wai-app-static81 ghc-yaml82 ghc-xml-conduit83 ghc-wai84 ghc-warp85 ghc-http-types86 ghc-fsnotify87 ghc-http-conduit88 ghc-pandoc89 ghc-pandoc-types))90 (native-inputs (list ghc-quickcheck ghc-tasty ghc-tasty-golden91 ghc-tasty-hunit ghc-tasty-quickcheck util-linux))92 (home-page "https://jaspervdj.be/hakyll/")93 (synopsis94 "This package provides a Haskell-based static website compiler library")95 (description96 "Hakyll is a static website compiler library. That is, it provides you97with the tools to create a simple or advanced static website using a Haskell98@acronym{EDSL, Embedded Domain Specific Language} and input formats such as99Markdown or @acronym{RST, reStructuredText}.")100 (license license:bsd-3)))101102(packages->manifest103 (list104 bash-minimal105 chimerautils106 cabal-install107 gcc-toolchain108 ghc109 ghc-hakyll))