diff options
author | Federico Beffa <beffa@fbengineering.ch> | 2015-03-27 18:12:43 +0100 |
---|---|---|
committer | Federico Beffa <beffa@fbengineering.ch> | 2015-04-08 17:31:13 +0200 |
commit | 01a687da098510547f52a066738ca0d3f85ebc45 (patch) | |
tree | df59d3e5edd666951a7b66eb32cf73b335942ae4 /gnu/packages | |
parent | c5043f4aac33426bfe2c54f2db3bbf01b9c88f09 (diff) | |
download | guix-01a687da098510547f52a066738ca0d3f85ebc45.tar.gz |
gnu: Add ghc-unordered-containers.
* gnu/packages/haskell.scm (ghc-unordered-containers): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/haskell.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 3a41eb2757..bcc529b871 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -658,4 +658,37 @@ is an inductive definition of graphs in the style of algebraic data types that encourages inductive, recursive definitions of graph algorithms.") (license bsd-3))) +(define-public ghc-unordered-containers + (package + (name "ghc-unordered-containers") + (version "0.2.5.1") + (outputs '("out" "doc")) + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/unordered-containers/unordered-containers-" + version + ".tar.gz")) + (sha256 + (base32 + "06l1xv7vhpxly75saxdrbc6p2zlgz1az278arfkz4rgawfnphn3f")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck))) + ;; these inputs are necessary to use this library + (propagated-inputs `(("ghc-hashable" ,ghc-hashable))) + (arguments + `(#:tests? #f)) ; FIXME: currently missing libraries used for tests. + (home-page + "https://github.com/tibbe/unordered-containers") + (synopsis + "Efficient hashing-based container types") + (description + "Efficient hashing-based container types. The containers have been +optimized for performance critical use, both in terms of large data quantities +and high speed.") + (license bsd-3))) + ;;; haskell.scm ends here |