2014-09-20 07:19:32 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-03-29 12:12:19 +01:00
|
|
|
version = "3.10";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "commons-lang";
|
2014-09-20 07:19:32 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://apache/commons/lang/binaries/commons-lang3-${version}-bin.tar.gz";
|
2020-03-29 12:12:19 +01:00
|
|
|
sha256 = "144057jrx1jral6dnnb039h3k8rnrx0nj3ii428s725jfhazg68f";
|
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
|
|
|
};
|
|
|
|
}
|