[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64066] [PATCH 05/19] gnu: Add ghc-generic-lens-core
From: |
zamfofex |
Subject: |
[bug#64066] [PATCH 05/19] gnu: Add ghc-generic-lens-core |
Date: |
Wed, 14 Jun 2023 09:48:45 -0300 |
* gnu/packages/haskell-xyz.scm (ghc-generic-lens-core): New variable.
---
gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 7ecb677125..091b437243 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -6361,6 +6361,33 @@ (define-public ghc-lens-family-core
lenses and traversals for those who require Haskell 98.")
(license license:bsd-3)))
+(define-public ghc-generic-lens-core
+ (package
+ (name "ghc-generic-lens-core")
+ (version "2.2.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (hackage-uri "generic-lens-core" version))
+ (sha256
+ (base32
+ "08i4c9yb6z84iknrnl9f3f343121j7ilp0a679v81nsjm9xz3rlf"))))
+ (build-system haskell-build-system)
+ (properties '((upstream-name . "generic-lens-core")))
+ (inputs (list ghc-indexed-profunctors))
+ (arguments
+ `(#:cabal-revision ("1"
+
"1dbjhd6k7ypqa9f4h9v2xndgb4mjhfli3n1vjm8r8ga0kfndbqfn")))
+ (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. This package is the
+shared internal logic of the
@@<https://hackage.haskell.org/package/generic-lens
+generic-lens>@@ and @@<https://hackage.haskell.org/package/generic-optics
+generic-optics>@@ libraries.")
+ (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 <=
- [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, 2023/06/14
- [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