[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/17: gnu: Add ghc-assoc.
From: |
guix-commits |
Subject: |
13/17: gnu: Add ghc-assoc. |
Date: |
Fri, 8 May 2020 05:09:15 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit af36939410a038614b7c80640048beddc559f64c
Author: John Soo <address@hidden>
AuthorDate: Fri Dec 13 08:44:49 2019 -0800
gnu: Add ghc-assoc.
* gnu/packages/haskell-xyz.scm (ghc-assoc): New variable.
Signed-off-by: Christopher Baines <address@hidden>
---
gnu/packages/haskell-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 3f9fd16..a54abd4 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -456,6 +456,34 @@ colored output using the ansi-terminal package.")
style.")
(license license:bsd-3)))
+(define-public ghc-assoc
+ (package
+ (name "ghc-assoc")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/assoc/assoc-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1m9n4vp190bvn2wcrd4ggfwa9pi93jp0zgx02mdgywn2zfidw020"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-bifunctors" ,ghc-bifunctors)
+ ("ghc-tagged" ,ghc-tagged)))
+ (home-page
+ "http://hackage.haskell.org/package/assoc")
+ (synopsis
+ "Swap and assoc: Symmetric and Semigroupy Bifunctors")
+ (description
+ "Provides generalisations of @code{swap :: (a,b) -> (b,a)} and
+@code{assoc :: ((a,b),c) -> (a,(b,c))} to @code{Bifunctor}s supporting
+similar operations (e.g. @code{Either}, @code{These}).")
+ (license license:bsd-3)))
+
(define-public ghc-async
(package
(name "ghc-async")
- 02/17: gnu: Add ghc-transformers., (continued)
- 02/17: gnu: Add ghc-transformers., guix-commits, 2020/05/08
- 01/17: gnu: Add ghc-utf8-light., guix-commits, 2020/05/08
- 05/17: gnu: Add ghc-wai-websockets., guix-commits, 2020/05/08
- 06/17: gnu: Add ghc-sourcemap., guix-commits, 2020/05/08
- 07/17: gnu: Add ghc-mtl-compat., guix-commits, 2020/05/08
- 03/17: gnu: Add ghc-tasty-hspec., guix-commits, 2020/05/08
- 08/17: gnu: Add ghc-protolude., guix-commits, 2020/05/08
- 09/17: gnu: Add ghc-pattern-arrows., guix-commits, 2020/05/08
- 10/17: gnu: Add ghc-language-javascript., guix-commits, 2020/05/08
- 11/17: gnu: Add ghc-bower-json., guix-commits, 2020/05/08
- 13/17: gnu: Add ghc-assoc.,
guix-commits <=
- 14/17: gnu: Add ghc-these., guix-commits, 2020/05/08
- 16/17: gnu: Add ghc-happy@1.19.9, guix-commits, 2020/05/08
- 04/17: gnu: Add ghc-websockets., guix-commits, 2020/05/08
- 15/17: gnu: Add ghc-semialign., guix-commits, 2020/05/08
- 17/17: gnu: Add purescript., guix-commits, 2020/05/08
- 12/17: gnu: Add ghc-aeson-better-errors., guix-commits, 2020/05/08