ocamlPackages.{ipaddr,macaddr}: 3.1.0 → 5.0.0 and update all affected packages (tuntap, conduit, cohttp, …) (#91350)
* ocamlPackages.{ipaddr,macaddr}: 3.1.0 → 5.0.0
* ipaddr-cstruct: new package (since 4.0.0)
* ipaddr-sexp: new package (since 4.0.0)
* macaddr-cstruct: new package (since 4.0.0)
* macaddr-sexp: new package (since 4.0.0)
* macaddr: enable tests (don't depend on ipaddr anymore)
* ocamlPackages.tuntap: 1.3.0 → 2.0.0
* ocamlPackages.conduit{,-lwt,-lwt-unix}: 1.4.0 → 2.2.2
* ocamlPackages.cohttp{,-lwt,-lwt-unix}: 2.1.3 → 2.5.1
* ocamlPackages: use dune 2 if pkg (indirectly) depends on cohttp-lwt-unix
dune refuses to build a package if one of its dependencies uses dune 2.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{ lib, buildDunePackage
|
||||
, ipaddr, cstruct
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ipaddr-cstruct";
|
||||
|
||||
inherit (ipaddr) version src minimumOCamlVersion;
|
||||
|
||||
propagatedBuildInputs = [ ipaddr cstruct ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = ipaddr.meta // {
|
||||
description = "A library for manipulation of IP address representations using Cstructs";
|
||||
};
|
||||
}
|
||||
@@ -1,22 +1,20 @@
|
||||
{ lib, buildDunePackage
|
||||
, macaddr, ounit
|
||||
, macaddr, domain-name, stdlib-shims
|
||||
, ounit, ppx_sexp_conv
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ipaddr";
|
||||
|
||||
inherit (macaddr) version src;
|
||||
inherit (macaddr) version src minimumOCamlVersion;
|
||||
|
||||
buildInputs = [ ounit ];
|
||||
|
||||
propagatedBuildInputs = [ macaddr ];
|
||||
propagatedBuildInputs = [ macaddr domain-name stdlib-shims ];
|
||||
|
||||
checkInputs = [ ppx_sexp_conv ounit ];
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mirage/ocaml-ipaddr";
|
||||
meta = macaddr.meta // {
|
||||
description = "A library for manipulation of IP (and MAC) address representations ";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ alexfmpe ericbmerritt ];
|
||||
maintainers = with lib.maintainers; [ alexfmpe ericbmerritt ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{ lib, buildDunePackage
|
||||
, ipaddr, ipaddr-cstruct, ounit, ppx_sexp_conv
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ipaddr-sexp";
|
||||
|
||||
inherit (ipaddr) version src minimumOCamlVersion;
|
||||
|
||||
propagatedBuildInputs = [ ipaddr ];
|
||||
|
||||
checkInputs = [ ipaddr-cstruct ounit ppx_sexp_conv ];
|
||||
doCheck = true;
|
||||
|
||||
meta = ipaddr.meta // {
|
||||
description = "A library for manipulation of IP address representations usnig sexp";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user