mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +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
734 B
Nix
29 lines
734 B
Nix
{ lib, buildDunePackage, fetchurl
|
|
, cstruct, ppx_cstruct, lwt, ounit2
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "xenstore";
|
|
version = "2.2.0";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-xenstore/releases/download/v${version}/xenstore-${version}.tbz";
|
|
hash = "sha256-1Mnqtt5zHeRdYJHvhdQNjN8d4yxUEKD2cpwtoc7DGC0=";
|
|
};
|
|
|
|
nativeBuildInputs = [ ppx_cstruct ];
|
|
propagatedBuildInputs = [ cstruct lwt ];
|
|
|
|
doCheck = true;
|
|
nativeCheckInputs = [ ounit2 ];
|
|
|
|
meta = with lib; {
|
|
description = "Xenstore protocol in pure OCaml";
|
|
license = licenses.lgpl21Only;
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
homepage = "https://github.com/mirage/ocaml-xenstore";
|
|
};
|
|
}
|