[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: gnu: Add ghc-psqueue.
From: |
guix-commits |
Subject: |
05/08: gnu: Add ghc-psqueue. |
Date: |
Sun, 14 Jun 2020 17:17:04 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit cf123e321d4d0843b596a2b106643b2ddc8ca9d7
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jun 10 01:04:37 2020 +0200
gnu: Add ghc-psqueue.
* gnu/packages/haskell-xyz.scm (ghc-psqueue): New public variable.
---
gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 6908050..0508916 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -9812,6 +9812,29 @@ the ideal templating system.")
replace the standard one provided by GHC.")
(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
(package
(name "ghc-psqueues")
- branch master updated (9a3ddee -> 065cb27), guix-commits, 2020/06/14
- 01/08: doc: Adjust branching and rebuilding strategy to match reality., guix-commits, 2020/06/14
- 02/08: gnu: Add ghc-curl., guix-commits, 2020/06/14
- 03/08: gnu: Add ghc-regex-pcre., guix-commits, 2020/06/14
- 04/08: gnu: Add shelltestrunner., guix-commits, 2020/06/14
- 05/08: gnu: Add ghc-psqueue.,
guix-commits <=
- 07/08: gnu: docbook: Add 5.0.1., guix-commits, 2020/06/14
- 06/08: gnu: Add ndisc6., guix-commits, 2020/06/14
- 08/08: gnu: Add iputils., guix-commits, 2020/06/14