add nghttp3 package definition
This commit is contained in:
parent
d52e20af49
commit
b8fd75c83e
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue