nixpkgs-overlay/pkgs/ngtcp2/default.nix

43 lines
788 B
Nix
Raw Permalink 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-12-23 18:24:33 +01:00
, gnutls
2021-01-16 17:03:17 +01:00
, pkgconfig
}:
stdenv.mkDerivation rec {
pname = "ngtcp2";
2022-02-08 23:52:34 +01:00
version = "20220208";
2021-01-16 17:03:17 +01:00
src = fetchFromGitHub {
owner = "ngtcp2";
repo = "ngtcp2";
2022-02-08 23:52:34 +01:00
rev = "1f55feb0359c88106b461d83e962dc940dbe8bdc";
sha256 = "1yq3hx94v5wg7iy273f6mchl74pq1y81g3hggwmhbvfv1lbfbm56";
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-12-23 18:24:33 +01:00
gnutls
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;
};
}