2014-11-08 19:48:47 +01:00
|
|
|
{ stdenv, fetchurl, apacheHttpd, jdk }:
|
2008-01-23 15:40:03 +01:00
|
|
|
|
2014-11-08 19:48:47 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-06-15 11:07:02 +02:00
|
|
|
name = "tomcat-connectors-1.2.41-dev-1613051";
|
2008-01-23 15:40:03 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-06-15 11:07:02 +02:00
|
|
|
url = "http://people.apache.org/~rjung/mod_jk-dev/${name}-src.tar.gz";
|
|
|
|
sha256 = "11khipjpy3y84j1pp7yyx76y64jccvyhh3klwzqxylff49vjc2fc";
|
2008-01-23 15:40:03 +01:00
|
|
|
};
|
|
|
|
|
2016-04-16 18:40:54 +02:00
|
|
|
configureFlags = "--with-apxs=${apacheHttpd.dev}/bin/apxs --with-java-home=${jdk}";
|
2014-11-08 19:48:47 +01:00
|
|
|
|
2017-11-02 13:54:20 +01:00
|
|
|
setSourceRoot = ''
|
|
|
|
sourceRoot=$(echo */native)
|
|
|
|
'';
|
2014-11-08 19:48:47 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/modules
|
|
|
|
cp apache-2.0/mod_jk.so $out/modules
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ apacheHttpd jdk ];
|
2016-08-02 18:06:29 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
2008-01-23 15:40:03 +01:00
|
|
|
}
|