38 lines
742 B
Nix
38 lines
742 B
Nix
|
{ autoreconfHook
|
||
|
, stdenv
|
||
|
, fetchFromGitHub
|
||
|
, gnutls
|
||
|
, pkgconfig
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "ngtcp2";
|
||
|
version = "20210116";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "ngtcp2";
|
||
|
repo = "ngtcp2";
|
||
|
rev = "c9bba36da0ea033ffc644b0a981b9fa78f5adae6";
|
||
|
sha256 = "19rz2zyln0f4rc4cms5yd4nmwcnnqpmbc3z330vbdfxazv4rcs1r";
|
||
|
};
|
||
|
|
||
|
outputs = [ "out" "dev" ];
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
autoreconfHook
|
||
|
pkgconfig
|
||
|
];
|
||
|
|
||
|
buildInputs = [
|
||
|
gnutls
|
||
|
];
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "ngtcp2 project is an effort to implement IETF QUIC protocol";
|
||
|
homepage = https://github.com/ngtcp2/ngtcp2;
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ royneary ];
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|