aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/ipaddr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/ipaddr/default.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/ipaddr/default.nix16
1 files changed, 7 insertions, 9 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/ipaddr/default.nix b/nixpkgs/pkgs/development/ocaml-modules/ipaddr/default.nix
index d7009fdf553..a4a6f9fc7a1 100644
--- a/nixpkgs/pkgs/development/ocaml-modules/ipaddr/default.nix
+++ b/nixpkgs/pkgs/development/ocaml-modules/ipaddr/default.nix
@@ -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 ];
};
}