Commit 27d53b81 authored by ajs124's avatar ajs124
Browse files

nginxQuic: share src and version with nginxMainline

quic support was merged
still a separate package, because it uses quictls
and sets configureFlags
parent 91ecb7d7
Loading
Loading
Loading
Loading
+2 −13
Original line number Diff line number Diff line
{ 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";
}