nixpkgs-overlay/pkgs/ngtcp2/default.nix

43 lines
802 B
Nix
Raw Normal View History

2021-01-16 17:03:17 +01:00
{ autoreconfHook
2021-07-24 15:53:20 +02:00
, lib
2021-01-16 17:03:17 +01:00
, stdenv
, fetchFromGitHub
2021-07-26 09:48:25 +02:00
, gnutls-latest
2021-01-16 17:03:17 +01:00
, pkgconfig
}:
stdenv.mkDerivation rec {
pname = "ngtcp2";
2021-11-03 00:24:32 +01:00
version = "20211031";
2021-01-16 17:03:17 +01:00
src = fetchFromGitHub {
owner = "ngtcp2";
repo = "ngtcp2";
2021-11-03 00:24:32 +01:00
rev = "f91edc489e2ce77603f8e101a24a9c7726265ef7";
sha256 = "0x486vwg5w1yz7jl8vi2nc8dyjv78p03ygfcxgfqwdmiq60iflhy";
2021-01-16 17:03:17 +01:00
};
outputs = [ "out" "dev" ];
configureFlags = [
"--with-gnutls"
];
2021-01-16 17:03:17 +01:00
nativeBuildInputs = [
autoreconfHook
pkgconfig
];
buildInputs = [
2021-07-26 09:48:25 +02:00
gnutls-latest
2021-01-16 17:03:17 +01:00
];
2021-07-24 15:53:20 +02:00
meta = with lib; {
2021-01-16 17:03:17 +01:00
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;
};
}