Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / diet / default.nix
blob5be9cde836617b8186bd22d8358abae46df2eb94
1 { lib, buildDunePackage, fetchurl, ocaml, stdlib-shims, ounit }:
3 buildDunePackage rec {
4   pname = "diet";
5   version = "0.4";
7   src = fetchurl {
8     url =
9       "https://github.com/mirage/ocaml-diet/releases/download/v${version}/diet-v${version}.tbz";
10     sha256 = "96acac2e4fdedb5f47dd8ad2562e723d85ab59cd1bd85554df21ec907b071741";
11   };
13   minimalOCamlVersion = "4.03";
15   propagatedBuildInputs = [ stdlib-shims ];
17   doCheck = lib.versionAtLeast ocaml.version "4.08";
18   checkInputs = [ ounit ];
20   meta = with lib; {
21     homepage = "https://github.com/mirage/ocaml-diet";
22     description = "Simple implementation of Discrete Interval Encoding Trees";
23     license = licenses.isc;
24     maintainers = with maintainers; [ ehmry ];
25   };