nixpkgs/pkgs/servers/http/apache-modules/tomcat-connectors/default.nix

31 lines
643 B
Nix
Raw Normal View History

2014-11-08 10:48:47 -08:00
{ stdenv, fetchurl, apacheHttpd, jdk }:
2014-11-08 10:48:47 -08:00
stdenv.mkDerivation rec {
name = "tomcat-connectors-1.2.41-dev-1613051";
src = fetchurl {
url = "https://people.apache.org/~rjung/mod_jk-dev/${name}-src.tar.gz";
sha256 = "11khipjpy3y84j1pp7yyx76y64jccvyhh3klwzqxylff49vjc2fc";
};
2018-07-25 14:44:21 -07:00
configureFlags = [
"--with-apxs=${apacheHttpd.dev}/bin/apxs"
"--with-java-home=${jdk}"
];
2014-11-08 10:48:47 -08:00
setSourceRoot = ''
sourceRoot=$(echo */native)
'';
2014-11-08 10:48:47 -08:00
installPhase = ''
mkdir -p $out/modules
cp apache-2.0/mod_jk.so $out/modules
'';
buildInputs = [ apacheHttpd jdk ];
meta = {
platforms = stdenv.lib.platforms.unix;
};
}