mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
30 lines
878 B
Nix
30 lines
878 B
Nix
{ lib, stdenv, fetchurl, apr, jdk, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tomcat-native";
|
|
version = "2.0.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://apache/tomcat/tomcat-connectors/native/${version}/source/${pname}-${version}-src.tar.gz";
|
|
hash = "sha256-LFr8ftw4PkdmBkfppwca2B9Y5Rx/dlwS9+evySA7LU0=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|