[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64066] [PATCH 06/19] gnu: Add ghc-generic-lens
From: |
zamfofex |
Subject: |
[bug#64066] [PATCH 06/19] gnu: Add ghc-generic-lens |
Date: |
Wed, 14 Jun 2023 09:48:46 -0300 |
* gnu/packages/haskell-xyz.scm (ghc-generic-lens): New variable.
---
gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 091b437243..4724348b44 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -6388,6 +6388,31 @@ (define-public ghc-generic-lens-core
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 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 @@<https://hackage.haskell.org/package/generic-optics
+generic-optics>@@.")
+ (license license:bsd-3)))
+
(define-public ghc-libffi
(package
(name "ghc-libffi")
--
2.40.1
- [bug#64066] [PATCH 00/19] Add Plunder, zamfofex, 2023/06/14
- [bug#64066] [PATCH 02/19] gnu: Add ghc-hscolour, zamfofex, 2023/06/14
- [bug#64066] [PATCH 03/19] gnu: Add ghc-constraints-extras, zamfofex, 2023/06/14
- [bug#64066] [PATCH 01/19] gnu: Add ghc-proctest, zamfofex, 2023/06/14
- [bug#64066] [PATCH 05/19] gnu: Add ghc-generic-lens-core, zamfofex, 2023/06/14
- [bug#64066] [PATCH 07/19] gnu: Add ghc-these-lens, zamfofex, 2023/06/14
- [bug#64066] [PATCH 04/19] gnu: Add ghc-indexed-profunctors, zamfofex, 2023/06/14
- [bug#64066] [PATCH 08/19] gnu: Add ghc-sdl2-ttf, zamfofex, 2023/06/14
- [bug#64066] [PATCH 10/19] gnu: Add ghc-exception-transformers, zamfofex, 2023/06/14
- [bug#64066] [PATCH 06/19] gnu: Add ghc-generic-lens,
zamfofex <=
- [bug#64066] [PATCH 09/19] gnu: Add ghc-sdl2-gfx, zamfofex, 2023/06/14
- [bug#64066] [PATCH 11/19] gnu: Add ghc-commutative-semigroup, zamfofex, 2023/06/14
- [bug#64066] [PATCH 14/19] gnu: Add ghc-prim-uniq, zamfofex, 2023/06/14
- [bug#64066] [PATCH 19/19] gnu: Add Plunder, zamfofex, 2023/06/14
- [bug#64066] [PATCH 12/19] gnu: Add ghc-dependent-sum, zamfofex, 2023/06/14
- [bug#64066] [PATCH 16/19] gnu: Add ghc-ref-tf, zamfofex, 2023/06/14
- [bug#64066] [PATCH 18/19] gnu: Add ghc-reflex-sdl2, zamfofex, 2023/06/14
- [bug#64066] [PATCH 17/19] gnu: Add ghc-reflex, zamfofex, 2023/06/14
- [bug#64066] [PATCH 13/19] gnu: Add ghc-dependent-map, zamfofex, 2023/06/14
- [bug#64066] [PATCH 15/19] gnu: Add ghc-patch, zamfofex, 2023/06/14