guix-commits
[Top][All Lists]
Advanced

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

04/22: gnu: Add ghc-project-template.


From: guix-commits
Subject: 04/22: gnu: Add ghc-project-template.
Date: Sun, 29 Mar 2020 16:37:46 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit fbe32d46e802f3542a184340af06644dceb69943
Author: Alexandru-Sergiu Marton <address@hidden>
AuthorDate: Fri Jan 3 13:15:04 2020 +0200

    gnu: Add ghc-project-template.
    
    * gnu/packages/haskell-xyz.scm (ghc-project-template): New variable.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/haskell-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index f2d0222..1e65581 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2020 Brett Gilio <address@hidden>
 ;;; Copyright © 2020 JoJo <address@hidden>
 ;;; Copyright © 2020 Nicolas Goaziou <address@hidden>
+;;; Copyright © 2020 Alexandru-Sergiu Marton <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -9086,6 +9087,46 @@ API.")
     (description "This library provides profunctors for Haskell.")
     (license license:bsd-3)))
 
+(define-public ghc-project-template
+  (package
+    (name "ghc-project-template")
+    (version "0.2.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             
"https://hackage.haskell.org/package/project-template/project-template-";
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "1p69ww4rhah2qxragl615wl4a6mk4x9w09am8knmz3s4lxpljlpb"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-base64-bytestring" ,ghc-base64-bytestring)
+       ("ghc-conduit" ,ghc-conduit)
+       ("ghc-conduit-extra" ,ghc-conduit-extra)
+       ("ghc-resourcet" ,ghc-resourcet)))
+    (native-inputs
+     `(("ghc-hspec" ,ghc-hspec)
+       ("hspec-discover" ,hspec-discover)
+       ("ghc-quickcheck" ,ghc-quickcheck)))
+    (arguments
+     `(#:cabal-revision
+       ("1"
+        "0lq3sqnq0nr0gbvgzp0lqdl3j3mqdmdlf8xsw0j3pjh581xj3k0a")))
+    (home-page "https://github.com/fpco/haskell-ide";)
+    (synopsis "Specify Haskell project templates and generate files")
+    (description
+     "Haskell library for both generating and consuming project templates.
+
+ost IDEs provide the concept of a project template: instead of writing all
+of the code for a project from scratch, you select a template, answer a few
+questions, and a bunch of files are automatically generated.
+
+project-template tries to provide a canonical Haskell library for implementing
+the ideal templating system.")
+    (license license:bsd-3)))
+
 (define-public ghc-psqueues
   (package
     (name "ghc-psqueues")



reply via email to

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