1 { lib, stdenv, fetchurl, apacheHttpd, jdk }:
3 stdenv.mkDerivation rec {
4 pname = "tomcat-connectors";
8 url = "mirror://apache/tomcat/tomcat-connectors/jk/${pname}-${version}-src.tar.gz";
9 sha256 = "15wfj1mvad15j1fqw67qbpbpwrcz3rb0zdhrq6z2sax1l05kc6yb";
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 license = licenses.asl20;
32 platforms = platforms.unix;