git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.ipaddr: remove at 2.6.1

This is a legacy version for OCaml 4.02

commita91007dbc43774853d3e6dc2f0c48396d8a4b14c authorVincent Laporte <Vincent.Laporte@gmail.com> dateSat 9 May 2020, 06:33 (7 years ago) parent5e6f290
2 files changed+1−38
pkgs/development/ocaml-modules/ipaddr/2.6.1.nix−32 pkgs/top-level/ocaml-packages.nix+1−6
pkgs/development/ocaml-modules/ipaddr/2.6.1.nixdeleted−32
@@ -1,32 +0,0 @@
1−{stdenv, buildOcaml, fetchurl, sexplib_p4}:
2−
3−buildOcaml rec {
4− name = "ipaddr";
5− version = "2.6.1";
6−
7− src = fetchurl {
8− url = "https://github.com/mirage/ocaml-ipaddr/archive/${version}.tar.gz";
9− sha256 = "7051013d8f58abff433187d70cd7ddd7a6b49a6fbe6cad1893f571f65b8ed3d0";
10− };
11−
12− propagatedBuildInputs = [ sexplib_p4 ];
13−
14− configurePhase = ''
15− ocaml setup.ml -configure --prefix $out
16− '';
17−
18− buildPhase = ''
19− make build
20− '';
21−
22− installPhase = ''
23− make install
24− '';
25−
26− meta = with stdenv.lib; {
27− homepage = "https://github.com/mirage/ocaml-ipaddr";
28− description = "A library for manipulation of IP (and MAC) address representations ";
29− license = licenses.mit;
30− maintainers = [ maintainers.ericbmerritt ];
31− };
32−}
pkgs/top-level/ocaml-packages.nix+1−6
@@ -317,12 +317,7 @@ let
317317
318318 io-page = callPackage ../development/ocaml-modules/io-page { };
319319
320− ipaddr_p4 = callPackage ../development/ocaml-modules/ipaddr/2.6.1.nix { };
321−
322− ipaddr =
323− if lib.versionOlder "4.02" ocaml.version
324− then callPackage ../development/ocaml-modules/ipaddr { }
325− else ipaddr_p4;
320+ ipaddr = callPackage ../development/ocaml-modules/ipaddr { };
326321
327322 irmin_1 = callPackage ../development/ocaml-modules/irmin/1.4.nix { };
328323