nginxQuic: share src and version with nginxMainline

quic support was merged
still a separate package, because it uses quictls
and sets configureFlags
This commit is contained in:
ajs124 2023-05-23 18:37:54 +02:00
parent 91ecb7d7ff
commit 27d53b81cc

View file

@ -1,25 +1,14 @@
{ callPackage
, fetchhg
, nginxMainline
, ...
} @ args:
callPackage ./generic.nix args {
pname = "nginxQuic";
src = fetchhg {
url = "https://hg.nginx.org/nginx-quic";
rev = "0af598651e33"; # branch=quic
hash = "sha256-rG0jXA+ci7anUxZCBhXZLZKwnTtzzDEAViuoImKpALA=";
};
preConfigure = ''
ln -s auto/configure configure
'';
inherit (nginxMainline) src version;
configureFlags = [
"--with-http_v3_module"
"--with-stream_quic_module"
];
version = "1.23.4";
}