ivy build

This commit is contained in:
Some One committed 2025-09-07 21:28:57 +02:00
1 parent a88128d90a
commit 964e15fd5e
36 files changed
+805 -9

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
{stdenv, fetchFromGitHub, jdk6, ant_1_7, commons-lang}: stdenv.mkDerivation rec {
pname = "commons-cli";
version = "1.0";
outJar = "commons-cli-1.0-beta-2-dev.jar";
src = fetchFromGitHub {
owner = "apache";
repo = pname;
rev = "CLI_1_0";
hash = "sha256-HwS1RdyGNuPZJoKWQX9X9KwNs013M1T5NBLSn4N9fKo=";
};
nativeBuildInputs = [jdk6 ant_1_7];
env = {
JAVA_HOME="${jdk6}";
CLASSPATH="${commons-lang}/commons-lang-2.0.jar";
};
buildPhase = ''
mkdir ./lib
ant dist -Dnoget=true
'';
installPhase = ''
mkdir $out
cp -r ./dist/* $out/
'';
}