tomcat: modernize (#546099)

This commit is contained in:
Peder Bergebakken Sundt
2026-08-04 19:15:53 +00:00
committed by GitHub
+7
View File
@@ -15,6 +15,9 @@ let
pname = "apache-tomcat";
inherit version;
__structuredAttrs = true;
strictDeps = true;
src = fetchurl {
url = "mirror://apache/tomcat/tomcat-${lib.versions.major version}/v${version}/bin/apache-tomcat-${version}.tar.gz";
inherit hash;
@@ -26,10 +29,14 @@ let
];
installPhase = ''
runHook preInstall
mkdir $out
mv * $out
mkdir -p $webapps/webapps
mv $out/webapps $webapps/
runHook postInstall
'';
passthru = {