more maven work

This commit is contained in:
Some One committed 2026-08-28 19:53:27 +02:00
1 parent 8292f027a9
commit cea6bb299a
40 files changed
+836 -122

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
{stdenv, fetchFromGitHub, jdk6, ant_1_7}: stdenv.mkDerivation rec {
pname = "commons-lang";
version = "2.0";
outJar = "commons-lang-2.0.jar";
src = fetchFromGitHub {
owner = "apache";
repo = pname;
rev = "LANG_2_0";
hash = "sha256-MMJG9xB5e51qo2iELH2qwuee0bEofHS5NVb0qgY5A5k=";
};
nativeBuildInputs = [jdk6 ant_1_7];
env = {
JAVA_HOME="${jdk6}";
};
buildPhase = ''
ant dist
'';
installPhase = ''
mkdir $out
cp -r ./dist/* $out/
'';
}