mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
26 lines
715 B
Nix
26 lines
715 B
Nix
{ stdenv, buildOcaml, fetchurl, ocamlbuild, findlib
|
|
, jbuilder, sexplib, ppx_sexp_conv
|
|
}:
|
|
|
|
buildOcaml rec {
|
|
name = "ipaddr";
|
|
version = "2.8.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-ipaddr/archive/${version}.tar.gz";
|
|
sha256 = "1amb1pbm9ybpxy6190qygpj6nmbzzs2r6vx4xh5r6v89szx9rfxw";
|
|
};
|
|
|
|
buildInputs = [ findlib ocamlbuild jbuilder ];
|
|
propagatedBuildInputs = [ ppx_sexp_conv sexplib ];
|
|
|
|
inherit (jbuilder) installPhase;
|
|
|
|
meta = with stdenv.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 ];
|
|
};
|
|
}
|