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

+27
View File
@@ -0,0 +1,27 @@
{stdenv, fetchzip, jdk6, ant_1_7, commons-logging_1_1, commons-codec}: stdenv.mkDerivation rec {
pname = "commons-httpclient";
version = "3.0";
outJar = "commons-httpclient.jar";
src = fetchzip {
url = "https://archive.apache.org/dist/httpcomponents/commons-httpclient/3.0/source/commons-httpclient-3.0-src.zip";
hash = "sha256-MY9Tg/pX6efI3nmdbNs1r9U2aQaGxLcTytzg4IjmftA=";
};
nativeBuildInputs = [jdk6 ant_1_7];
env = {
JAVA_HOME="${jdk6}";
CLASSPATH="${commons-logging_1_1}/commons-logging-1.1.jar:${commons-codec}/commons-codec-1.3.jar";
};
buildPhase = ''
mkdir ./lib
ant dist
'';
installPhase = ''
mkdir $out
cp -r ./dist/* $out/
'';
}