nixpkgs/pkgs/servers/http/apache-modules/tomcat-connectors/default.nix
Tuomas Tynkkynen 2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00

25 lines
604 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.dev}/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 ];
meta = {
platforms = stdenv.lib.platforms.unix;
};
}