Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
905 B
Nix
41 lines
905 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
apr,
|
|
jdk,
|
|
openssl,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tomcat-native";
|
|
version = "2.0.9";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://apache/tomcat/tomcat-connectors/native/${version}/source/${pname}-${version}-src.tar.gz";
|
|
hash = "sha256-iu0N70FNf0m2iOgmeXUT6VGC7L17b4tvAl5Se4UGXAI=";
|
|
};
|
|
|
|
sourceRoot = "${pname}-${version}-src/native";
|
|
|
|
buildInputs = [
|
|
apr
|
|
jdk
|
|
openssl
|
|
];
|
|
|
|
configureFlags = [
|
|
"--with-apr=${apr.dev}"
|
|
"--with-java-home=${jdk}"
|
|
"--with-ssl=${openssl.dev}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Optional component for use with Apache Tomcat that allows Tomcat to use certain native resources for performance, compatibility, etc";
|
|
homepage = "https://tomcat.apache.org/native-doc/";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ aanderse ];
|
|
};
|
|
}
|