10 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
16 repo = "tomcat-connectors";
17 rev = "refs/tags/JK_${lib.replaceStrings [ "." ] [ "_" ] version}";
18 hash = "sha256-hlwlx7Sb4oeZIzHQYOC3e9xEZK9u6ZG8Q2U/XdKMe3U=";
21 sourceRoot = "${src.name}/native";
23 nativeBuildInputs = [ autoreconfHook ];
31 "--with-apxs=${apacheHttpd.dev}/bin/apxs"
32 "--with-java-home=${jdk}"
39 cp apache-2.0/mod_jk.so $out/modules
45 description = "Provides web server plugins to connect web servers with Tomcat";
46 homepage = "https://tomcat.apache.org/download-connectors.cgi";
47 changelog = "https://tomcat.apache.org/connectors-doc/miscellaneous/changelog.html";
48 license = lib.licenses.asl20;
49 maintainers = with lib.maintainers; [ anthonyroussel ];
50 platforms = lib.platforms.unix;