[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: Add ocaml-ptmap.
From: |
guix-commits |
Subject: |
02/07: gnu: Add ocaml-ptmap. |
Date: |
Wed, 3 Aug 2022 02:23:48 -0400 (EDT) |
iyzsong pushed a commit to branch master
in repository guix.
commit dca0a3ac9380f0d9fe9ef80092e4c997b239243a
Author: John Kehayias <john.kehayias@protonmail.com>
AuthorDate: Wed Jul 27 23:31:45 2022 -0400
gnu: Add ocaml-ptmap.
* gnu/packages/ocaml.scm (ocaml-ptmap): New variable.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 895b99320e..da7086ab2b 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4407,6 +4407,34 @@ sensitive completion, colors, and more.")
("ocaml-zed" ,ocaml-zed)))
(properties '()))))
+(define-public ocaml-ptmap
+ (package
+ (name "ocaml-ptmap")
+ (version "2.0.5")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append
"https://github.com/backtracking/ptmap/releases/download/"
+ version "/ptmap-" version ".tbz"))
+ (sha256
+ (base32
+ "1apk61fc1y1g7x3m3c91fnskvxp6i0vk5nxwvipj56k7x2pzilgb"))))
+ (build-system dune-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "dune" "runtest")))))))
+ (propagated-inputs (list ocaml-stdlib-shims ocaml-seq))
+ (home-page "https://github.com/backtracking/ptmap")
+ (synopsis "Maps of integers implemented as Patricia trees")
+ (description
+ "An implementation inspired by Okasaki & Gill's paper 'Fast Mergeable
+Integer Maps.'")
+ (license license:lgpl2.1))) ; with linking exception
+
(define-public ocaml-integers
(package
(name "ocaml-integers")
- branch master updated (94f801a426 -> e2ad0b0f8b), guix-commits, 2022/08/03
- 01/07: gnu: Add ocaml-luv., guix-commits, 2022/08/03
- 04/07: gnu: Add ocaml-xml-light., guix-commits, 2022/08/03
- 03/07: gnu: Add ocaml-sha., guix-commits, 2022/08/03
- 02/07: gnu: Add ocaml-ptmap.,
guix-commits <=
- 05/07: gnu: Add mikktspace., guix-commits, 2022/08/03
- 06/07: gnu: Add minimp3., guix-commits, 2022/08/03
- 07/07: gnu: nsis: Update to 3.08., guix-commits, 2022/08/03