depot/third_party/nixpkgs/pkgs/development/ocaml-modules/happy-eyeballs/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

31 lines
747 B
Nix

{ lib, buildDunePackage, fetchurl
, domain-name, duration, fmt, ipaddr, logs
}:
buildDunePackage rec {
pname = "happy-eyeballs";
version = "0.5.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/roburio/happy-eyeballs/releases/download/v${version}/happy-eyeballs-${version}.tbz";
hash = "sha256-T4BOFlSj3xfUFhP9v8UaCHgmhvGrMyeqNUQf79bdBh4=";
};
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 = with lib.maintainers; [ vbgl ulrikstrid ];
};
}