mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: Add ghc-hashable.
* gnu/packages/haskell.scm (ghc-hashable): New variable.
This commit is contained in:
parent
deb36de072
commit
775be802a3
1 changed files with 31 additions and 0 deletions
|
@ -381,4 +381,35 @@ (define-public ghc-text
|
||||||
in terms of large data quantities and high speed.")
|
in terms of large data quantities and high speed.")
|
||||||
(license bsd-3)))
|
(license bsd-3)))
|
||||||
|
|
||||||
|
(define-public ghc-hashable
|
||||||
|
(package
|
||||||
|
(name "ghc-hashable")
|
||||||
|
(version "1.2.3.2")
|
||||||
|
(outputs '("out" "doc"))
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"http://hackage.haskell.org/package/hashable/hashable-"
|
||||||
|
version
|
||||||
|
".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0h9295pv2sgbaqlwpwbx2bap6nngm0jcdhkqham1wpjwyxqgqrlc"))))
|
||||||
|
(build-system haskell-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f)) ; FIXME: currently missing libraries used for tests.
|
||||||
|
;; these inputs are necessary to use this library
|
||||||
|
(propagated-inputs
|
||||||
|
`(("ghc-text" ,ghc-text)))
|
||||||
|
(home-page "http://github.com/tibbe/hashable")
|
||||||
|
(synopsis
|
||||||
|
"Class for types that can be converted to a hash value")
|
||||||
|
(description
|
||||||
|
"This package defines a class, 'Hashable', for types that can be
|
||||||
|
converted to a hash value. This class exists for the benefit of hashing-based
|
||||||
|
data structures. The package provides instances for basic types and a way to
|
||||||
|
combine hash values.")
|
||||||
|
(license bsd-3)))
|
||||||
|
|
||||||
;;; haskell.scm ends here
|
;;; haskell.scm ends here
|
||||||
|
|
Loading…
Reference in a new issue