add nghttp3 package definition

master
Christian Ulrich 2021-08-22 15:33:14 +02:00
parent d52e20af49
commit b8fd75c83e
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 33 additions and 0 deletions

33
pkgs/nghttp3/default.nix Normal file
View File

@ -0,0 +1,33 @@
{ autoreconfHook
, lib
, stdenv
, fetchFromGitHub
, pkgconfig
}:
stdenv.mkDerivation rec {
pname = "nghttp3";
version = "20210817";
src = fetchFromGitHub {
owner = "ngtcp2";
repo = "nghttp3";
rev = "149319e6789dcfbe95af3c65c8a132255ef63192";
sha256 = "18cbg39vx1aqxmk6lndw5lfkidlsr1n2vba18gdf7wn7a2rw78qv";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [
autoreconfHook
pkgconfig
];
meta = with lib; {
description = "HTTP/3 library written in C";
homepage = https://github.com/ngtcp2/nghttp3;
license = licenses.mit;
maintainers = with maintainers; [ royneary ];
platforms = platforms.linux;
};
}