34 lines
668 B
Nix
34 lines
668 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|