[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/20: gnu: Add ghc-generic-lens.
From: |
guix-commits |
Subject: |
07/20: gnu: Add ghc-generic-lens. |
Date: |
Fri, 7 Jul 2023 09:31:45 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 2e865166eafe282f4df33921df056b2294966fb7
Author: zamfofex <zamfofex@twdb.moe>
AuthorDate: Wed Jun 14 09:48:46 2023 -0300
gnu: Add ghc-generic-lens.
* gnu/packages/haskell-xyz.scm (ghc-generic-lens): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/haskell-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index f4318644aa..3beb2c4cda 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -6386,6 +6386,30 @@ is the shared internal logic of the @code{generic-lens}
and
@code{generic-optics} libraries.")
(license license:bsd-3)))
+(define-public ghc-generic-lens
+ (package
+ (name "ghc-generic-lens")
+ (version "2.2.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (hackage-uri "generic-lens" version))
+ (sha256
+ (base32
+ "0s4b51s11ssmndmx9m9zbwgv9rb27ajwihsrk10hn582rp4ck3c6"))))
+ (build-system haskell-build-system)
+ (properties '((upstream-name . "generic-lens")))
+ (inputs (list ghc-generic-lens-core ghc-profunctors))
+ (native-inputs (list ghc-lens ghc-inspection-testing ghc-hunit
ghc-doctest))
+ (home-page "https://github.com/kcsongor/generic-lens")
+ (synopsis "Generically derive traversals, lenses and prisms.")
+ (description
+ "This library uses @code{GHC.Generics} to derive efficient
+optics (traversals, lenses and prisms) for algebraic data types in a
+type-directed way, with a focus on good type inference and error messages when
+possible. The library exposes a van Laarhoven interface. For an alternative
+interface, supporting an opaque optic type, see @code{generic-optics}.")
+ (license license:bsd-3)))
+
(define-public ghc-libffi
(package
(name "ghc-libffi")
- branch master updated (ba1fe203b2 -> 849f31d574), guix-commits, 2023/07/07
- 02/20: gnu: Add ghc-proctest., guix-commits, 2023/07/07
- 05/20: gnu: Add ghc-indexed-profunctors., guix-commits, 2023/07/07
- 09/20: gnu: Add ghc-sdl2-ttf., guix-commits, 2023/07/07
- 20/20: gnu: Add Plunder., guix-commits, 2023/07/07
- 04/20: gnu: Add ghc-constraints-extras., guix-commits, 2023/07/07
- 07/20: gnu: Add ghc-generic-lens.,
guix-commits <=
- 08/20: gnu: Add ghc-these-lens., guix-commits, 2023/07/07
- 16/20: gnu: Add ghc-patch., guix-commits, 2023/07/07
- 06/20: gnu: Add ghc-generic-lens-core., guix-commits, 2023/07/07
- 18/20: gnu: Add ghc-reflex., guix-commits, 2023/07/07
- 10/20: gnu: Add ghc-sdl2-gfx., guix-commits, 2023/07/07
- 11/20: gnu: Add ghc-exception-transformers., guix-commits, 2023/07/07
- 17/20: gnu: Add ghc-ref-tf., guix-commits, 2023/07/07
- 14/20: gnu: Add ghc-dependent-map., guix-commits, 2023/07/07
- 12/20: gnu: Add ghc-commutative-semigroup., guix-commits, 2023/07/07
- 19/20: gnu: Add ghc-reflex-sdl2., guix-commits, 2023/07/07