ocamlPackages.happy-eyeballs: init at 0.1.3

This commit is contained in:
Vincent Laporte 2022-06-30 06:29:07 +01:00 committed by Vincent Laporte
parent ebdd91b4e3
commit 26a6c659f0
2 changed files with 32 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -505,6 +505,8 @@ let
hacl-star = callPackage ../development/ocaml-modules/hacl-star { };
hacl-star-raw = callPackage ../development/ocaml-modules/hacl-star/raw.nix { };
happy-eyeballs = callPackage ../development/ocaml-modules/happy-eyeballs { };
hashcons = callPackage ../development/ocaml-modules/hashcons { };
herelib = callPackage ../development/ocaml-modules/herelib { };