ocamlPackages.uri: use Dune 3
This commit is contained in:
parent
9100134ba9
commit
cdf5720ae2
|
@ -3,11 +3,11 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
minimumOCamlVersion = "4.03";
|
minimalOCamlVersion = "4.03";
|
||||||
pname = "uri";
|
pname = "uri";
|
||||||
version = "4.2.0";
|
version = "4.2.0";
|
||||||
|
|
||||||
useDune2 = true;
|
duneVersion = "3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||||
|
|
|
@ -6,7 +6,9 @@ else
|
||||||
|
|
||||||
buildDunePackage {
|
buildDunePackage {
|
||||||
pname = "uri-sexp";
|
pname = "uri-sexp";
|
||||||
inherit (uri) version useDune2 src meta;
|
inherit (uri) version src meta;
|
||||||
|
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
checkInputs = [ ounit ];
|
checkInputs = [ ounit ];
|
||||||
propagatedBuildInputs = [ ppx_sexp_conv sexplib0 uri ];
|
propagatedBuildInputs = [ ppx_sexp_conv sexplib0 uri ];
|
||||||
|
|
Loading…
Reference in a new issue