1 { lib, stdenv, fetchurl, apacheHttpd, jdk }:
3 stdenv.mkDerivation rec {
8 url = "mirror://apache/tomcat/tomcat-connectors/jk/tomcat-connectors-${version}-src.tar.gz";
9 hash = "sha256-Q8sCg8koeOnU7xEGMdvSvra1VxPBJ84EMZCyswh1fpw=";
13 "--with-apxs=${apacheHttpd.dev}/bin/apxs"
14 "--with-java-home=${jdk}"
18 sourceRoot=$(echo */native)
23 cp apache-2.0/mod_jk.so $out/modules
26 buildInputs = [ apacheHttpd jdk ];
29 description = "Provides web server plugins to connect web servers with Tomcat";
30 homepage = "https://tomcat.apache.org/download-connectors.cgi";
31 changelog = "https://tomcat.apache.org/connectors-doc/miscellaneous/changelog.html";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ anthonyroussel ];
34 platforms = platforms.unix;