ocamlPackages.bheap: init at 2.0.0

This commit is contained in:
sternenseemann 2021-01-12 19:49:15 +01:00 committed by Vincent Laporte
parent aa8868c7cc
commit ae82038d5f
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, buildDunePackage, fetchurl, stdlib-shims }:
buildDunePackage rec {
pname = "bheap";
version = "2.0.0";
src = fetchurl {
url = "https://github.com/backtracking/${pname}/releases/download/${version}/${pname}-${version}.tbz";
sha256 = "0dpnpla20lgiicrxl2432m2fcr6y68msw3pnjxqb11xw6yrdfhsz";
};
useDune2 = true;
doCheck = true;
checkInputs = [
stdlib-shims
];
meta = with lib; {
description = "OCaml binary heap implementation by Jean-Christophe Filliatre";
license = licenses.lgpl21Only;
maintainers = [ maintainers.sternenseemann ];
homepage = "https://github.com/backtracking/bheap";
};
}

View file

@ -58,6 +58,8 @@ let
batteries = callPackage ../development/ocaml-modules/batteries { };
bheap = callPackage ../development/ocaml-modules/bheap { };
bigarray-compat = callPackage ../development/ocaml-modules/bigarray-compat { };
bigarray-overlap = callPackage ../development/ocaml-modules/bigarray-overlap { };