diff options
author | Alexandre Esteves <2335822+alexfmpe@users.noreply.github.com> | 2019-12-29 19:40:36 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2019-12-29 20:40:36 +0100 |
commit | be90b35b9efbd7baaa80f367ffc41609531a8fe2 (patch) | |
tree | 7602920ad7ee8643608e2eede9245ca2491b1d23 /pkgs/development/ocaml-modules/ipaddr | |
parent | af2eaec41a18ca30c38512dd1e6de8fa8107f7e4 (diff) | |
download | nixlib-be90b35b9efbd7baaa80f367ffc41609531a8fe2.tar nixlib-be90b35b9efbd7baaa80f367ffc41609531a8fe2.tar.gz nixlib-be90b35b9efbd7baaa80f367ffc41609531a8fe2.tar.bz2 nixlib-be90b35b9efbd7baaa80f367ffc41609531a8fe2.tar.lz nixlib-be90b35b9efbd7baaa80f367ffc41609531a8fe2.tar.xz nixlib-be90b35b9efbd7baaa80f367ffc41609531a8fe2.tar.zst nixlib-be90b35b9efbd7baaa80f367ffc41609531a8fe2.zip |
ocamlPackages.conduit: 1.0.0 -> 1.4.0 and dependencies (#74821)
Diffstat (limited to 'pkgs/development/ocaml-modules/ipaddr')
-rw-r--r-- | pkgs/development/ocaml-modules/ipaddr/default.nix | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/pkgs/development/ocaml-modules/ipaddr/default.nix b/pkgs/development/ocaml-modules/ipaddr/default.nix index 3d5959fe64e2..be76e413c36a 100644 --- a/pkgs/development/ocaml-modules/ipaddr/default.nix +++ b/pkgs/development/ocaml-modules/ipaddr/default.nix @@ -1,20 +1,22 @@ -{ stdenv, fetchurl, buildDunePackage, sexplib, ppx_sexp_conv }: +{ lib, buildDunePackage +, macaddr, ounit +}: buildDunePackage rec { pname = "ipaddr"; - version = "2.8.0"; - src = fetchurl { - url = "https://github.com/mirage/ocaml-${pname}/archive/${version}.tar.gz"; - sha256 = "1amb1pbm9ybpxy6190qygpj6nmbzzs2r6vx4xh5r6v89szx9rfxw"; - }; + inherit (macaddr) version src; + + buildInputs = [ ounit ]; + + propagatedBuildInputs = [ macaddr ]; - propagatedBuildInputs = [ ppx_sexp_conv sexplib ]; + doCheck = true; - meta = with stdenv.lib; { + meta = with lib; { homepage = https://github.com/mirage/ocaml-ipaddr; description = "A library for manipulation of IP (and MAC) address representations "; license = licenses.isc; - maintainers = [ maintainers.ericbmerritt ]; + maintainers = with maintainers; [ alexfmpe ericbmerritt ]; }; } |