mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
29 lines
443 B
Nix
29 lines
443 B
Nix
{
|
|
lib,
|
|
ocaml,
|
|
buildDunePackage,
|
|
uri,
|
|
ounit,
|
|
ppx_sexp_conv,
|
|
sexplib0,
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "uri-sexp";
|
|
inherit (uri) version src;
|
|
|
|
duneVersion = "3";
|
|
|
|
checkInputs = [ ounit ];
|
|
propagatedBuildInputs = [
|
|
ppx_sexp_conv
|
|
sexplib0
|
|
uri
|
|
];
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
|
|
meta = uri.meta // {
|
|
broken = uri.meta.broken or false || lib.versionOlder ocaml.version "4.04";
|
|
};
|
|
}
|