nixpkgs/pkgs/development/ocaml-modules/ipaddr/default.nix

21 lines
613 B
Nix
Raw Normal View History

{ stdenv, fetchurl, buildDunePackage, sexplib, ppx_sexp_conv }:
buildDunePackage rec {
pname = "ipaddr";
2017-12-01 21:13:38 +01:00
version = "2.8.0";
src = fetchurl {
url = "https://github.com/mirage/ocaml-${pname}/archive/${version}.tar.gz";
2017-12-01 21:13:38 +01:00
sha256 = "1amb1pbm9ybpxy6190qygpj6nmbzzs2r6vx4xh5r6v89szx9rfxw";
};
2018-07-05 21:40:30 +02:00
propagatedBuildInputs = [ ppx_sexp_conv sexplib ];
meta = with stdenv.lib; {
homepage = https://github.com/mirage/ocaml-ipaddr;
description = "A library for manipulation of IP (and MAC) address representations ";
2017-12-01 21:13:38 +01:00
license = licenses.isc;
maintainers = [ maintainers.ericbmerritt ];
};
}