aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/ngtcp2/.yandex_meta/override.nix
blob: 3f250b774b85b7508c109791d684f52e9f4d08c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pkgs: attrs: with pkgs; rec {
    name = "ngtcp2";
    version = "1.8.1";

    nativeBuildInputs = [
      autoreconfHook cmake pkg-config autoconf libtool automake openssl
    ];

    # without this nix tries to fetch and build quictls
    buildInputs = [ ];

    src = fetchurl {
      url = "https://github.com/ngtcp2/ngtcp2/releases/download/v${version}/ngtcp2-${version}.tar.xz";
      hash = "sha256-rIRKees/FT5Mzc/szt9CxXqzUruKuS7IrF00F6ec+xE=";
    };

    patches = [
        ./001_crypto_includes.patch
    ];
}