3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.diet: init at 0.4

This commit is contained in:
Emery Hemingway 2020-12-26 18:32:36 +01:00 committed by Vincent Laporte
parent caf07b0ebf
commit 3d7d7b8af3
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, buildDunePackage, fetchurl, stdlib-shims, ounit }:
buildDunePackage rec {
pname = "diet";
version = "0.4";
src = fetchurl {
url =
"https://github.com/mirage/ocaml-diet/releases/download/v${version}/diet-v${version}.tbz";
sha256 = "96acac2e4fdedb5f47dd8ad2562e723d85ab59cd1bd85554df21ec907b071741";
};
minimumOCamlVersion = "4.03";
propagatedBuildInputs = [ stdlib-shims ];
doCheck = true;
checkInputs = [ ounit ];
meta = with lib; {
homepage = "https://github.com/mirage/ocaml-diet";
description = "Simple implementation of Discrete Interval Encoding Trees";
license = licenses.isc;
maintainers = with maintainers; [ ehmry ];
};
}

View file

@ -203,6 +203,8 @@ let
decompress = callPackage ../development/ocaml-modules/decompress { };
diet = callPackage ../development/ocaml-modules/diet { };
digestif = callPackage ../development/ocaml-modules/digestif { };
dispatch = callPackage ../development/ocaml-modules/dispatch { };