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-08-18 12:28:28 +02:00
version = "20210818";
2021-01-16 17:03:17 +01:00
src = fetchFromGitHub {
owner = "ngtcp2";
repo = "ngtcp2";
2021-08-18 12:25:51 +02:00
rev = "2b75b57708fd865db4c1b8167714865242e2f3e4";
sha256 = "0gwpmfacx3cd2a3d7yv041zd58qncill1ykj3jsvm54ab00qy8fa";
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;
};
}