mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
29 lines
720 B
Nix
29 lines
720 B
Nix
{ lib, buildDunePackage, fetchurl, stdlib-shims, ounit }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "diet";
|
|
version = "0.4";
|
|
|
|
useDune2 = true;
|
|
|
|
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;
|
|
nativeCheckInputs = [ 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 ];
|
|
};
|
|
}
|