[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
128/154: gnu: Add ghc-lens.
From: |
Paul |
Subject: |
128/154: gnu: Add ghc-lens. |
Date: |
Thu, 22 Oct 2015 20:23:25 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 43b813689471d38622e0d8aca59095c6d48d72cc
Author: Paul van der Walt <address@hidden>
Date: Thu Oct 15 17:08:09 2015 +0200
gnu: Add ghc-lens.
* gnu/packages/haskell.scm (ghc-lens): Add variable.
---
gnu/packages/haskell.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 51 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index a35ba5c..808e5cc 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -3390,6 +3390,57 @@ forms of the Yoneda lemma, and (co)density (co)monads
for Haskell.")
in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
(license bsd-3)))
+(define-public ghc-lens
+ (package
+ (name "ghc-lens")
+ (version "4.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/lens/lens-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0g4g0xksrb2m8wgsmraaq8qnk1sssb42kr65fc7clgyid6zyfmim"))))
+ (build-system haskell-build-system)
+ (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem.
+ (propagated-inputs
+ `(("ghc-base-orphans" ,ghc-base-orphans)
+ ("ghc-bifunctors" ,ghc-bifunctors)
+ ("ghc-distributive" ,ghc-distributive)
+ ("ghc-exceptions" ,ghc-exceptions)
+ ("ghc-free" ,ghc-free)
+ ("ghc-kan-extensions" ,ghc-kan-extensions)
+ ("ghc-parallel" ,ghc-parallel)
+ ("ghc-reflection" ,ghc-reflection)
+ ("ghc-semigroupoids" ,ghc-semigroupoids)
+ ("ghc-vector" ,ghc-vector)))
+ (inputs
+ `(("ghc-comonad" ,ghc-comonad)
+ ("ghc-contravariant" ,ghc-contravariant)
+ ("ghc-hashable" ,ghc-hashable)
+ ("ghc-mtl" ,ghc-mtl)
+ ("ghc-profunctors" ,ghc-profunctors)
+ ("ghc-semigroups" ,ghc-semigroups)
+ ("ghc-tagged" ,ghc-tagged)
+ ("ghc-text" ,ghc-text)
+ ("ghc-transformers-compat" ,ghc-transformers-compat)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)
+ ("ghc-void" ,ghc-void)
+ ("ghc-generic-deriving" ,ghc-generic-deriving)
+ ("ghc-nats" ,ghc-nats)
+ ("ghc-simple-reflect" ,ghc-simple-reflect)
+ ("hlint" ,hlint)))
+ (home-page "http://github.com/ekmett/lens/")
+ (synopsis "Lenses, Folds and Traversals")
+ (description "This library provides @code{Control.Lens}. The combinators
+in @code{Control.Lens} provide a highly generic toolbox for composing families
+of getters, folds, isomorphisms, traversals, setters and lenses and their
+indexed variants.")
+ (license bsd-3)))
+
(define-public ghc-tagsoup
(package
(name "ghc-tagsoup")
- 123/154: gnu: Add ghc-wai., (continued)
- 123/154: gnu: Add ghc-wai., Paul, 2015/10/22
- 116/154: gnu: Add ghc-haskell-src-exts., Paul, 2015/10/22
- 122/154: gnu: Add ghc-cookie., Paul, 2015/10/22
- 129/154: gnu: Add ghc-cheapskate., Paul, 2015/10/22
- 132/154: gnu: Add ghc-haddock-library., Paul, 2015/10/22
- 134/154: gnu: Add ghc-haddock., Paul, 2015/10/22
- 136/154: gnu: Add ghc-multipart., Paul, 2015/10/22
- 133/154: gnu: Add ghc-haddock-api., Paul, 2015/10/22
- 135/154: gnu: Add ghc-alex., Paul, 2015/10/22
- 127/154: gnu: Add ghc-kan-extensions., Paul, 2015/10/22
- 128/154: gnu: Add ghc-lens.,
Paul <=
- 125/154: gnu: Add ghc-wai-extra., Paul, 2015/10/22
- 130/154: gnu: Add ghc-trifecta., Paul, 2015/10/22
- 126/154: gnu: Add ghc-vector-binary-instances., Paul, 2015/10/22
- 131/154: gnu: Add Idris., Paul, 2015/10/22
- 139/154: gnu: Add ghc-haskell-src., Paul, 2015/10/22
- 145/154: gnu: Add ghc-gluraw., Paul, 2015/10/22
- 147/154: gnu: Add ghc-opengl., Paul, 2015/10/22
- 137/154: gnu: Add ghc-cgi., Paul, 2015/10/22
- 140/154: gnu: Add ghc-xhtml., Paul, 2015/10/22
- 141/154: gnu: Add ghc-regex-posix., Paul, 2015/10/22