diff options
author | rsiddharth <s@ricketyspace.net> | 2018-03-21 03:45:11 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-03-31 19:28:22 +0200 |
commit | d199274194f643daab6819c9ee0d4576462610dc (patch) | |
tree | cfb288f9ff0a76989ad3c5db842782e26a5a8be6 /gnu | |
parent | fb812d6cff11a799db96cf28acb7b22b8d659a62 (diff) | |
download | patches-d199274194f643daab6819c9ee0d4576462610dc.tar patches-d199274194f643daab6819c9ee0d4576462610dc.tar.gz |
gnu: Add ghc-yesod-persistent.
* gnu/packages/haskell-web.scm (ghc-yesod-pesistent): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/haskell-web.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index c6c85d8ede..77351597f7 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -1058,3 +1058,36 @@ avoid any issues with characters.") Yesod, on which other packages can be built. It provides dispatch, handler functions, widgets, etc.") (license license:expat))) + +(define-public ghc-yesod-persistent + (package + (name "ghc-yesod-persistent") + (version "1.4.3") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/" + "yesod-persistent-" version "/" + "yesod-persistent-" version ".tar.gz")) + (sha256 + (base32 + "0kiksw46c8ww9yiwl28pkrppx8d6fhsasr0hvmsliqbrp16likj8")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ; FIXME: hspec-discover not available in PATH. + (inputs `(("ghc-yesod-core" ,ghc-yesod-core) + ("ghc-persistent" ,ghc-persistent) + ("ghc-persistent-template" ,ghc-persistent-template) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-conduit" ,ghc-conduit) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-resource-pool" ,ghc-resource-pool))) + (native-inputs `(("ghc-hspec" ,ghc-hspec) + ("ghc-wai-extra" ,ghc-wai-extra) + ("ghc-yesod-core" ,ghc-yesod-core) + ("ghc-persistent-sqlite" ,ghc-persistent-sqlite) + ("ghc-text" ,ghc-text))) + (home-page "http://www.yesodweb.com/") + (synopsis "Helpers for using Persistent from Yesod") + (description "This Haskell package provides helpers for using Persistent +from Yesod.") + (license license:expat))) |