mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: Add ghc-psqueue.
* gnu/packages/haskell-xyz.scm (ghc-psqueue): New public variable.
This commit is contained in:
parent
dcfd1d2caf
commit
cf123e321d
1 changed files with 23 additions and 0 deletions
|
@ -9812,6 +9812,29 @@ (define-public ghc-protolude
|
||||||
replace the standard one provided by GHC.")
|
replace the standard one provided by GHC.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public ghc-psqueue
|
||||||
|
(package
|
||||||
|
(name "ghc-psqueue")
|
||||||
|
(version "1.1.0.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://hackage/package/PSQueue-"
|
||||||
|
version "/PSQueue-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1cik7sw10sacsijmfhghzy54gm1qcyxw14shlp86lx8z89kcnkza"))))
|
||||||
|
(build-system haskell-build-system)
|
||||||
|
(home-page "https://hackage.haskell.org/package/PSQueue")
|
||||||
|
(synopsis "Priority search queue")
|
||||||
|
(description
|
||||||
|
"A @dfn{priority search queue} efficiently supports the operations of
|
||||||
|
both a search tree and a priority queue. A @code{Binding} is a product of
|
||||||
|
a key and a priority. Bindings can be inserted, deleted, modified and queried
|
||||||
|
in logarithmic time, and the binding with the least priority can be retrieved
|
||||||
|
in constant time. A queue can be built from a list of bindings, sorted by
|
||||||
|
keys, in linear time.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public ghc-psqueues
|
(define-public ghc-psqueues
|
||||||
(package
|
(package
|
||||||
(name "ghc-psqueues")
|
(name "ghc-psqueues")
|
||||||
|
|
Loading…
Reference in a new issue