mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +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.
28 lines
693 B
Nix
28 lines
693 B
Nix
{ lib, fetchurl, buildDunePackage, ounit
|
|
, angstrom, stringext
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
minimumOCamlVersion = "4.03";
|
|
pname = "uri";
|
|
version = "4.2.0";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
|
sha256 = "0szifda6yism5vn5jdizkha3ad0xk6zw4xgfl8g77dnv83ci7h65";
|
|
};
|
|
|
|
nativeCheckInputs = [ ounit ];
|
|
propagatedBuildInputs = [ angstrom stringext ];
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mirage/ocaml-uri";
|
|
description = "RFC3986 URI parsing library for OCaml";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
}
|