Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: aa8868c7cca8
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ae82038d5f5d
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 25, 2021

  1. ocamlPackages.bheap: init at 2.0.0

    sternenseemann authored and vbgl committed Jan 25, 2021
    Copy the full SHA
    ae82038 View commit details
Showing with 27 additions and 0 deletions.
  1. +25 −0 pkgs/development/ocaml-modules/bheap/default.nix
  2. +2 −0 pkgs/top-level/ocaml-packages.nix
25 changes: 25 additions & 0 deletions pkgs/development/ocaml-modules/bheap/default.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
@@ -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 { };