guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

26/38: gnu: Add ghc-persistent-template.


From: Ludovic Courtès
Subject: 26/38: gnu: Add ghc-persistent-template.
Date: Sat, 31 Mar 2018 13:53:25 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 8434594d6d76c27bccf61b6c6d91d11e9869c0b1
Author: rsiddharth <address@hidden>
Date:   Wed Mar 21 03:45:03 2018 +0000

    gnu: Add ghc-persistent-template.
    
    * gnu/packages/haskell.scm (ghc-persistent-template): New variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 00128d6..a5c86b5 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9267,4 +9267,36 @@ way.")
 ghc-aeson.")
     (license license:bsd-3)))
 
+(define-public ghc-persistent-template
+  (package
+    (name "ghc-persistent-template")
+    (version "2.5.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/";
+                           "persistent-template-" version "/"
+                           "persistent-template-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0449piw3n02q7dag7k1pakfmzmf3ms4wk1qmnagczpm1ckajinwd"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-persistent" ,ghc-persistent)
+              ("ghc-monad-control" ,ghc-monad-control)
+              ("ghc-text" ,ghc-text)
+              ("ghc-aeson" ,ghc-aeson)
+              ("ghc-aeson-compat" ,ghc-aeson-compat)
+              ("ghc-monad-logger" ,ghc-monad-logger)
+              ("ghc-unordered-containers" ,ghc-unordered-containers)
+              ("ghc-tagged" ,ghc-tagged)
+              ("ghc-path-pieces" ,ghc-path-pieces)
+              ("ghc-http-api-data" ,ghc-http-api-data)))
+    (native-inputs `(("ghc-hspec" ,ghc-hspec)
+                     ("ghc-quickcheck" ,ghc-quickcheck)))
+    (home-page "https://www.yesodweb.com/book/persistent";)
+    (synopsis "Type-safe, non-relational, multi-backend persistence")
+    (description "This Haskell package provides interfaces and helper
+functions for the ghc-persistent package.")
+    (license license:expat)))
+
 ;;; haskell.scm ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]