2014-09-20 07:19:32 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-29 19:18:27 +00:00
|
|
|
version = "3.6";
|
2014-09-20 07:19:32 +01:00
|
|
|
name = "commons-lang-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://apache/commons/lang/binaries/commons-lang3-${version}-bin.tar.gz";
|
2018-12-29 19:18:27 +00:00
|
|
|
sha256 = "0r1wdjw48k2mk2wzyq5c3cx2zmark4q9psw52ma6v2i0sh6a9il0";
|
2014-09-20 07:19:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
tar xf ${src}
|
|
|
|
mkdir -p $out/share/java
|
|
|
|
cp *.jar $out/share/java/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://commons.apache.org/proper/commons-lang";
|
|
|
|
description = "Provides additional methods to manipulate standard Java library classes";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ copumpkin ];
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
2014-09-20 07:19:32 +01:00
|
|
|
};
|
|
|
|
}
|