about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/bheap/default.nix
blob: 49e5c336d90bcf537b212b60073b2cd724e05e6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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";
  };
}