treewide: cleanup maven packages

This commit is contained in:
Weijia Wang 2023-07-31 20:52:36 +02:00
parent e0f32f8944
commit e658ffa994
14 changed files with 8 additions and 27 deletions

View File

@ -40,7 +40,6 @@ mavenJdk17.buildMavenPackage rec {
nativeBuildInputs = [
copyDesktopItems
makeWrapper
mavenJdk17
];
buildInputs = [

View File

@ -39,7 +39,6 @@ maven.buildMavenPackage rec {
nativeBuildInputs = [
copyDesktopItems
maven
makeWrapper
];

View File

@ -41,7 +41,7 @@ maven.buildMavenPackage rec {
inherit mvnParameters;
mvnHash = "sha256-Ej/JePvd9Ieni8FqSaXBDc2T6Cwr8WP54iko8wYiT68=";
nativeBuildInputs = [ copyDesktopItems maven makeWrapper ];
nativeBuildInputs = [ copyDesktopItems makeWrapper ];
installPhase = ''
mkdir -p $out/bin

View File

@ -18,7 +18,7 @@ mavenJdk11.buildMavenPackage rec {
mvnHash = "sha256-/2/Yb26Ry0NHQQ3j0LXnjwC0wQqJiztvTgWixyMJqvg=";
nativeBuildInputs = [ jdk11 mavenJdk11 ];
nativeBuildInputs = [ jdk11 ];
installPhase = ''
cp -r modules/application/target/gephi $out

View File

@ -33,7 +33,6 @@ maven.buildMavenPackage rec {
nativeBuildInputs = [
makeWrapper
git
maven
# springframework boot gets angry about 1970 sources
# fix from https://github.com/nix-community/mavenix/issues/25

View File

@ -19,7 +19,7 @@ mavenJdk8.buildMavenPackage rec {
mvnHash = "sha256-rRLsCTY3fEAvGRDvNXqpjac2Gb5fdlyhK2wTK5CVN9k=";
nativeBuildInputs = [ jdk8 mavenJdk8 makeWrapper ];
nativeBuildInputs = [ jdk8 makeWrapper ];
installPhase = ''
mkdir -p "$out/lib/java" "$out/share/java"
@ -41,11 +41,10 @@ mavenJdk8.buildMavenPackage rec {
homepage = "https://github.com/martinpaljak/GlobalPlatformPro";
sourceProvenance = with sourceTypes; [
fromSource
binaryBytecode # deps
binaryBytecode # deps
];
license = with licenses; [ lgpl3 ];
maintainers = with maintainers; [ ekleog ];
mainProgram = "gp";
platforms = platforms.all;
};
}

View File

@ -26,7 +26,7 @@ maven.buildMavenPackage rec {
mvnParameters = "-DskipTests";
mvnHash = "sha256-bzYBSrCS9Kp+qnVO60h915Or1VWabphwLEu6lcBULuc=";
nativeBuildInputs = [ maven jdk makeWrapper ];
nativeBuildInputs = [ jdk makeWrapper ];
dontConfigure = true;
preBuild = ''
@ -56,6 +56,5 @@ maven.buildMavenPackage rec {
homepage = "https://github.com/georgewfraser/java-language-server";
license = licenses.mit;
maintainers = with maintainers; [ hqurve ];
platforms = platforms.all;
};
}

View File

@ -29,7 +29,7 @@ maven.buildMavenPackage {
mvnParameters = "-DskipTests";
mvnHash = "sha256-ajrHnaiJS7ZnR9BjLaXK2bnAKCp5UWQqYpjWbz3z6bw=";
nativeBuildInputs = [ maven makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
@ -59,7 +59,6 @@ maven.buildMavenPackage {
meta = with lib; {
description = "Magic: the Gathering card game with rules enforcement";
homepage = "https://www.slightlymagic.net/forum/viewforum.php?f=26";
platforms = openjdk.meta.platforms;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ eigengrau ];
};

View File

@ -13,8 +13,6 @@ maven.buildMavenPackage rec {
mvnHash = "sha256-rwAc2KtKo4vJ0JWwPquMyt+FHVNTmMpzBPbo8lWDN/A=";
nativeBuildInputs = [ maven ];
installPhase = ''
runHook preInstall
install -Dm444 -t "$out" target/keycloak-metrics-spi-*.jar

View File

@ -16,10 +16,6 @@ maven.buildMavenPackage rec {
mvnHash = "sha256-MWxm2q6tx8YcdEsleC2h+s+lp9whi11VQ1yFr8AZUyQ=";
nativeBuildInputs = [
maven
];
installPhase = ''
EAR=$(find -iname "*.ear")
install -D "$EAR" "$out/$(basename $EAR)"

View File

@ -16,10 +16,6 @@ maven.buildMavenPackage {
mvnHash = "sha256-vNPSNoOmtD1UMfWvLm8CH7RRatyeu3fnX9zteZpkay0=";
nativeBuildInputs = [
maven
];
installPhase = ''
install -D "target/scim-user-spi-0.0.1-SNAPSHOT.jar" "$out/scim-user-spi-0.0.1-SNAPSHOT.jar"
'';

View File

@ -15,7 +15,7 @@ mavenWithJdk.buildMavenPackage rec {
mvnHash = "sha256-oDtUitsfZPiDtyfzzw1yMNBCKyP6rHczKZT/SPPJYGE=";
nativeBuildInputs = [ mavenWithJdk makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
@ -44,6 +44,5 @@ mavenWithJdk.buildMavenPackage rec {
homepage = "https://github.com/Vhati/Slipstream-Mod-Manager";
license = licenses.gpl2;
maintainers = with maintainers; [ mib ];
platforms = platforms.all;
};
}

View File

@ -67,7 +67,6 @@ maven.buildMavenPackage rec {
nativeBuildInputs = [
autoPatchelfHook
maven
makeShellWrapper
wrapGAppsHook
jdk

View File

@ -13,7 +13,7 @@ maven.buildMavenPackage rec {
mvnHash = "sha256-kLpjMj05uC94/5vGMwMlFzLKNFOKeyNvq/vmB6pHTAo=";
nativeBuildInputs = [ maven makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin $out/share/jd-cli
@ -27,7 +27,6 @@ maven.buildMavenPackage rec {
description = "Simple command line wrapper around JD Core Java Decompiler project";
homepage = "https://github.com/intoolswetrust/jd-cli";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ majiir ];
};
}