mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
ocamlPackages.ipaddr: remove at 2.6.1
This is a legacy version for OCaml 4.02
This commit is contained in:
parent
5e6f290e32
commit
a91007dbc4
@ -1,32 +0,0 @@
|
|||||||
{stdenv, buildOcaml, fetchurl, sexplib_p4}:
|
|
||||||
|
|
||||||
buildOcaml rec {
|
|
||||||
name = "ipaddr";
|
|
||||||
version = "2.6.1";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://github.com/mirage/ocaml-ipaddr/archive/${version}.tar.gz";
|
|
||||||
sha256 = "7051013d8f58abff433187d70cd7ddd7a6b49a6fbe6cad1893f571f65b8ed3d0";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ sexplib_p4 ];
|
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
ocaml setup.ml -configure --prefix $out
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
make build
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
make install
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
homepage = "https://github.com/mirage/ocaml-ipaddr";
|
|
||||||
description = "A library for manipulation of IP (and MAC) address representations ";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = [ maintainers.ericbmerritt ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -317,12 +317,7 @@ let
|
|||||||
|
|
||||||
io-page = callPackage ../development/ocaml-modules/io-page { };
|
io-page = callPackage ../development/ocaml-modules/io-page { };
|
||||||
|
|
||||||
ipaddr_p4 = callPackage ../development/ocaml-modules/ipaddr/2.6.1.nix { };
|
ipaddr = callPackage ../development/ocaml-modules/ipaddr { };
|
||||||
|
|
||||||
ipaddr =
|
|
||||||
if lib.versionOlder "4.02" ocaml.version
|
|
||||||
then callPackage ../development/ocaml-modules/ipaddr { }
|
|
||||||
else ipaddr_p4;
|
|
||||||
|
|
||||||
irmin_1 = callPackage ../development/ocaml-modules/irmin/1.4.nix { };
|
irmin_1 = callPackage ../development/ocaml-modules/irmin/1.4.nix { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user