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-17 22:15:49 +02:00
version = "20210817";
2021-01-16 17:03:17 +01:00
src = fetchFromGitHub {
owner = "ngtcp2";
repo = "ngtcp2";
2021-08-17 22:15:49 +02:00
rev = "5f87977119436c9f3e510af7fd1a6f47dcde04dc";
sha256 = "1nsqfqbl31w67hk8brbidys1si2fnlm2y4kscyhcykxll9hqw88p";
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;
};
}