about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/happy-eyeballs
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2022-06-30 06:29:07 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2022-07-07 20:29:09 +0200
commit26a6c659f0b239048f8e33a8a8a8b70c6e95e123 (patch)
treea785f8940dd54acd50aa20f170221b076b5e0069 /pkgs/development/ocaml-modules/happy-eyeballs
parentebdd91b4e333fa16dadabc21d112b6a96e23e664 (diff)
ocamlPackages.happy-eyeballs: init at 0.1.3
Diffstat (limited to 'pkgs/development/ocaml-modules/happy-eyeballs')
-rw-r--r--pkgs/development/ocaml-modules/happy-eyeballs/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/happy-eyeballs/default.nix b/pkgs/development/ocaml-modules/happy-eyeballs/default.nix
new file mode 100644
index 0000000000000..dcd6c433d77da
--- /dev/null
+++ b/pkgs/development/ocaml-modules/happy-eyeballs/default.nix
@@ -0,0 +1,30 @@
+{ lib, buildDunePackage, fetchurl
+, domain-name, duration, fmt, ipaddr, logs
+}:
+
+buildDunePackage rec {
+  pname = "happy-eyeballs";
+  version = "0.1.3";
+
+  minimalOCamlVersion = "4.08";
+
+  src = fetchurl {
+    url = "https://github.com/roburio/happy-eyeballs/releases/download/v${version}/happy-eyeballs-${version}.tbz";
+    sha256 = "sha256:0ns1bxcmx0rkq4am6vl2aargdzkfhria8sfmgnh8dgzvvj93cc1c";
+  };
+
+  propagatedBuildInputs = [
+    domain-name
+    duration
+    fmt
+    ipaddr
+    logs
+  ];
+
+  meta = {
+    description = "Connecting to a remote host via IP version 4 or 6";
+    homepage = "https://github.com/roburio/happy-eyeballs";
+    license = lib.licenses.isc;
+    maintainers = [ lib.maintainers.vbgl ];
+  };
+}