nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 domain-name,
6 duration,
7 fmt,
8 ipaddr,
9 logs,
10}:
11
12buildDunePackage rec {
13 pname = "happy-eyeballs";
14 version = "2.0.1";
15
16 minimalOCamlVersion = "4.08";
17
18 src = fetchurl {
19 url = "https://github.com/roburio/happy-eyeballs/releases/download/v${version}/happy-eyeballs-${version}.tbz";
20 hash = "sha256-slVFiDApMbqF4Yhh5hCjraeCNJbU1JoZXpU1VsNR0mk=";
21 };
22
23 propagatedBuildInputs = [
24 domain-name
25 duration
26 fmt
27 ipaddr
28 logs
29 ];
30
31 meta = {
32 description = "Connecting to a remote host via IP version 4 or 6";
33 homepage = "https://github.com/roburio/happy-eyeballs";
34 license = lib.licenses.isc;
35 maintainers = with lib.maintainers; [
36 vbgl
37 ulrikstrid
38 ];
39 };
40}