aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/ipaddr/sexp.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/ipaddr/sexp.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/ipaddr/sexp.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/ipaddr/sexp.nix b/nixpkgs/pkgs/development/ocaml-modules/ipaddr/sexp.nix
new file mode 100644
index 00000000000..8d6186d6338
--- /dev/null
+++ b/nixpkgs/pkgs/development/ocaml-modules/ipaddr/sexp.nix
@@ -0,0 +1,18 @@
+{ lib, buildDunePackage
+, ipaddr, ipaddr-cstruct, ounit, ppx_sexp_conv
+}:
+
+buildDunePackage rec {
+ pname = "ipaddr-sexp";
+
+ inherit (ipaddr) version src minimumOCamlVersion;
+
+ propagatedBuildInputs = [ ipaddr ];
+
+ checkInputs = [ ipaddr-cstruct ounit ppx_sexp_conv ];
+ doCheck = true;
+
+ meta = ipaddr.meta // {
+ description = "A library for manipulation of IP address representations usnig sexp";
+ };
+}