mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add ghc-assoc.
* gnu/packages/haskell-xyz.scm (ghc-assoc): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
e345d93825
commit
af36939410
1 changed files with 28 additions and 0 deletions
|
@ -456,6 +456,34 @@ (define-public ghc-appar
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue