mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 23:48:25 +03:00
tomcat: format with nixfmt-rfc-style, remove with lib;
This commit is contained in:
parent
8c1f535d37
commit
4796b6afab
@ -1,7 +1,17 @@
|
||||
{ stdenvNoCC, lib, fetchurl, nixosTests, testers, jre, gitUpdater }:
|
||||
{
|
||||
fetchurl,
|
||||
gitUpdater,
|
||||
jre,
|
||||
lib,
|
||||
nixosTests,
|
||||
stdenvNoCC,
|
||||
testers,
|
||||
}:
|
||||
|
||||
let
|
||||
common = { version, hash }: stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
common =
|
||||
{ version, hash }:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "apache-tomcat";
|
||||
inherit version;
|
||||
|
||||
@ -10,9 +20,11 @@ let
|
||||
inherit hash;
|
||||
};
|
||||
|
||||
outputs = [ "out" "webapps" ];
|
||||
installPhase =
|
||||
''
|
||||
outputs = [
|
||||
"out"
|
||||
"webapps"
|
||||
];
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
mv * $out
|
||||
mkdir -p $webapps/webapps
|
||||
@ -34,17 +46,18 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://tomcat.apache.org/";
|
||||
description = "Implementation of the Java Servlet and JavaServer Pages technologies";
|
||||
platforms = jre.meta.platforms;
|
||||
maintainers = with maintainers; [ anthonyroussel ];
|
||||
license = [ licenses.asl20 ];
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
maintainers = with lib.maintainers; [ anthonyroussel ];
|
||||
license = lib.licenses.asl20;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
||||
};
|
||||
});
|
||||
|
||||
in {
|
||||
in
|
||||
{
|
||||
tomcat9 = common {
|
||||
version = "9.0.91";
|
||||
hash = "sha256-DFspyh06Mbu4+ratH+7Yo3Au0yXRSDlVCmd0x2yQuFY=";
|
||||
|
Loading…
Reference in New Issue
Block a user