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