[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
127/151: gnu: Add ghc-lens.
From: |
Paul |
Subject: |
127/151: gnu: Add ghc-lens. |
Date: |
Tue, 20 Oct 2015 15:31:35 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit f23258994286d7be9e66af73a1d269091814e475
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 | 54 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 54 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 7112231..f46317c 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -3453,6 +3453,60 @@ 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: test-framework unavailable
+ (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-quickcheck" ,ghc-quickcheck)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-doctest" ,ghc-doctest)
+ ("ghc-generic-deriving" ,ghc-generic-deriving)
+ ("ghc-nats" ,ghc-nats)
+ ("ghc-simple-reflect" ,ghc-simple-reflect)
+ ("ghc-hlint" ,ghc-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")
- 115/151: gnu: Add ghc-haskell-src-exts., (continued)
- 115/151: gnu: Add ghc-haskell-src-exts., Paul, 2015/10/20
- 122/151: gnu: Add ghc-wai., Paul, 2015/10/20
- 116/151: gnu: Add ghc-hlint., Paul, 2015/10/20
- 110/151: gnu: Add ghc-adjunctions., Paul, 2015/10/20
- 114/151: gnu: Add ghc-happy., Paul, 2015/10/20
- 118/151: gnu: Add ghc-streaming-commons., Paul, 2015/10/20
- 119/151: gnu: Add ghc-xss-sanitize., Paul, 2015/10/20
- 124/151: gnu: Add ghc-wai-extra., Paul, 2015/10/20
- 117/151: gnu: Add ghc-resourcet., Paul, 2015/10/20
- 121/151: gnu: Add ghc-cookie., Paul, 2015/10/20
- 127/151: gnu: Add ghc-lens.,
Paul <=
- 120/151: gnu: Add ghc-parsers., Paul, 2015/10/20
- 128/151: gnu: Add ghc-cheapskate., Paul, 2015/10/20
- 125/151: gnu: Add ghc-vector-binary-instances., Paul, 2015/10/20
- 133/151: gnu: Add ghc-haddock., Paul, 2015/10/20
- 126/151: gnu: Add ghc-kan-extensions., Paul, 2015/10/20
- 138/151: gnu: Add ghc-haskell-src., Paul, 2015/10/20
- 123/151: gnu: Add ghc-wai-logger., Paul, 2015/10/20
- 130/151: gnu: Add Idris, the dependently-typed language., Paul, 2015/10/20
- 137/151: gnu: Add ghc-html., Paul, 2015/10/20
- 135/151: gnu: Add ghc-multipart., Paul, 2015/10/20