diff options
author | Timothy Sample <samplet@ngyro.com> | 2018-08-31 22:08:31 -0400 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-10-01 12:12:19 +0200 |
commit | 07f38c6a2685fff4bfaf996ed14adc04188cc159 (patch) | |
tree | 9b73b236ff577dd7045a934a2e99c9e25416849a /gnu | |
parent | bf73366886e5c8c1b37e35f23b9cf21b011521e8 (diff) | |
download | guix-07f38c6a2685fff4bfaf996ed14adc04188cc159.tar guix-07f38c6a2685fff4bfaf996ed14adc04188cc159.tar.gz |
gnu: ghc-semigroupoids: Update to 5.2.2.
* gnu/packages/haskell.scm (ghc-semigroupoids): Update to 5.2.2.
[arguments]: Enable tests and update Cabal file to r4.
[inputs]: Add ghc-hashable and ghc-unordered-containers.
[native-inputs]: Add cabal-doctests and ghc-doctests.
(ghc-semigroupoids-5.2.2): Remove variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/haskell.scm | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 5a6fbb2d95..87adbb1aab 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -4932,7 +4932,7 @@ cross-site scripting (@dfn{XSS}) attacks.") (define-public ghc-semigroupoids (package (name "ghc-semigroupoids") - (version "5.1") + (version "5.2.2") (source (origin (method url-fetch) @@ -4942,9 +4942,11 @@ cross-site scripting (@dfn{XSS}) attacks.") ".tar.gz")) (sha256 (base32 - "0dgqc59p4xx5cl8qkpm6sn4wd3n59rq7l6din76hf10bnklqrb0n")))) + "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4")))) (build-system haskell-build-system) - (arguments `(#:tests? #f)) ; FIXME: doctest packagedb propagation problem. + (arguments + `(#:cabal-revision + ("4" "0pqfrxzypjq6z8lgdkzq4vhcyqkpk5326hny0r6snpc3gm78r4ij"))) (inputs `(("ghc-base-orphans" ,ghc-base-orphans) ("ghc-transformers-compat" ,ghc-transformers-compat) @@ -4952,8 +4954,13 @@ cross-site scripting (@dfn{XSS}) attacks.") ("ghc-comonad" ,ghc-comonad) ("ghc-contravariant" ,ghc-contravariant) ("ghc-distributive" ,ghc-distributive) + ("ghc-hashable" ,ghc-hashable) ("ghc-semigroups" ,ghc-semigroups) - ("ghc-tagged" ,ghc-tagged))) + ("ghc-tagged" ,ghc-tagged) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (native-inputs + `(("cabal-doctest" ,cabal-doctest) + ("ghc-doctest" ,ghc-doctest))) (home-page "https://github.com/ekmett/semigroupoids") (synopsis "Semigroupoids operations for Haskell") (description "This library provides a wide array of (semi)groupoids and @@ -10084,22 +10091,6 @@ system dependencies.") address string against RFC 5322.") (license license:bsd-3))) -(define-public ghc-semigroupoids-5.2.2 - (package - (inherit ghc-semigroupoids) - (name "ghc-semigroupoids") - (version "5.2.2") - (source (origin - (method url-fetch) - (uri (string-append "https://hackage.haskell.org/package/" - "semigroupoids-" version "/semigroupoids-" - version ".tar.gz")) - (sha256 - (base32 - "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4")))) - (inputs `(("ghc-unordered-containers" ,ghc-unordered-containers) - ,@(package-inputs ghc-semigroupoids))))) - (define-public ghc-bytes (package (name "ghc-bytes") |