guix-commits
[Top][All Lists]
Advanced

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

29/38: gnu: Add ghc-microlens-th.


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

civodul pushed a commit to branch master
in repository guix.

commit 82e0b0e23f180494cfa61084e912b07cca60743f
Author: rsiddharth <address@hidden>
Date:   Wed Mar 21 03:45:06 2018 +0000

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 08e357a..7cf152d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9346,4 +9346,29 @@ combinators (like @code{failing} and @code{singular}), 
but everything else is
 stripped.  As the result, this package has no dependencies.")
     (license license:bsd-3)))
 
+(define-public ghc-microlens-th
+  (package
+    (name "ghc-microlens-th")
+    (version "0.4.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/";
+                           "microlens-th-" version "/"
+                           "microlens-th-" version ".tar.gz"))
+       (sha256
+        (base32
+         "15a12cqxlgbcn1n73zwrxnp2vfm8b0ma0a0sdd8zmjbs8zy3np4f"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-microlens" ,ghc-microlens)))
+    (home-page
+     "https://github.com/aelve/microlens";)
+    (synopsis "Automatic generation of record lenses for
address@hidden")
+    (description "This Haskell package lets you automatically generate lenses
+for data types; code was extracted from the lens package, and therefore
+generated lenses are fully compatible with ones generated by lens (and can be
+used both from lens and microlens).")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here



reply via email to

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