mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
f4d7b23a68
Using the prerelease version, because there was no response on when a new official release will happen, see http://tomcat.10.x6.nabble.com/Release-of-tomcat-connectors-1-2-41-td5035487.html
22 lines
540 B
Nix
22 lines
540 B
Nix
{ stdenv, fetchurl, apacheHttpd, jdk }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "tomcat-connectors-1.2.41-dev-1613051";
|
|
|
|
src = fetchurl {
|
|
url = "http://people.apache.org/~rjung/mod_jk-dev/${name}-src.tar.gz";
|
|
sha256 = "11khipjpy3y84j1pp7yyx76y64jccvyhh3klwzqxylff49vjc2fc";
|
|
};
|
|
|
|
configureFlags = "--with-apxs=${apacheHttpd}/bin/apxs --with-java-home=${jdk}";
|
|
|
|
sourceRoot = "${name}-src/native";
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/modules
|
|
cp apache-2.0/mod_jk.so $out/modules
|
|
'';
|
|
|
|
buildInputs = [ apacheHttpd jdk ];
|
|
}
|