treewide: replace mavenfod with buildMavenPackage

This commit is contained in:
Weijia Wang 2023-06-20 19:59:30 +03:00
parent 40001fa439
commit dca415554f
9 changed files with 15 additions and 21 deletions

View file

@ -1,4 +1,4 @@
{ lib, javaPackages, fetchFromGitHub, makeDesktopItem, copyDesktopItems, makeWrapper
{ lib, fetchFromGitHub, makeDesktopItem, copyDesktopItems, makeWrapper
, jre, maven
}:
@ -27,7 +27,7 @@ let
# Also use the commit date as a build and output timestamp.
mvnParameters = "-Pno-git-rev -Dgit.commit.id.describe=${version} -Dproject.build.outputTimestamp=${buildDate} -DbuildTimestamp=${buildDate}";
in
javaPackages.mavenfod rec {
maven.buildMavenPackage rec {
pname = "digital";
inherit version jre;

View file

@ -1,5 +1,4 @@
{ lib
, javaPackages
, maven
, jre
, makeWrapper
@ -9,7 +8,7 @@
, ensureNewerSourcesHook
}:
javaPackages.mavenfod rec {
maven.buildMavenPackage rec {
pname = "schemaspy";
version = "6.1.1-SNAPSHOT";

View file

@ -1,4 +1,4 @@
{ lib, javaPackages, stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub
, jdk, maven
, makeWrapper
}:
@ -10,7 +10,7 @@ let
else if stdenv.isWindows then "windows"
else throw "unsupported platform";
in
javaPackages.mavenfod rec {
maven.buildMavenPackage rec {
pname = "java-language-server";
version = "0.2.38";

View file

@ -1,12 +1,10 @@
{ coreutils
, fetchFromGitHub
, gnused
, javaPackages
, lib
, maven
, makeWrapper
, openjdk
, stdenv
}:
let
@ -22,7 +20,8 @@ let
# launch4j downloads and runs a native binary during the package phase.
patches = [ ./no-launch4j.patch ];
in javaPackages.mavenfod {
in
maven.buildMavenPackage {
pname = "forge-mtg";
inherit version src patches;

View file

@ -1,6 +1,6 @@
{ lib, javaPackages, fetchFromGitHub, maven, makeWrapper, jdk }:
{ lib, fetchFromGitHub, maven, makeWrapper, jdk }:
javaPackages.mavenfod rec {
maven.buildMavenPackage rec {
pname = "exhibitor";
version = "1.5.6";

View file

@ -1,11 +1,9 @@
{ lib
, stdenv
, fetchFromGitHub
, maven
, javaPackages
}:
javaPackages.mavenfod rec {
maven.buildMavenPackage rec {
pname = "scim-for-keycloak";
version = "kc-15-b2"; # When updating also update mvnHash

View file

@ -1,11 +1,9 @@
{ lib
, stdenv
, fetchFromGitHub
, maven
, javaPackages
}:
javaPackages.mavenfod rec {
maven.buildMavenPackage {
pname = "scim-keycloak-user-storage-spi";
version = "unstable-2023-04-12";

View file

@ -1,10 +1,10 @@
{ lib, javaPackages, fetchFromGitHub
{ lib, fetchFromGitHub
, autoPatchelfHook
, fuse3
, maven, jdk, makeShellWrapper, glib, wrapGAppsHook
}:
javaPackages.mavenfod rec {
maven.buildMavenPackage rec {
pname = "cryptomator";
version = "1.8.0";

View file

@ -1,6 +1,6 @@
{ lib, javaPackages, fetchFromGitHub, jre, makeWrapper, maven }:
{ lib, fetchFromGitHub, jre, makeWrapper, maven }:
javaPackages.mavenfod rec {
maven.buildMavenPackage rec {
pname = "jd-cli";
version = "1.2.1";