3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/java/commons/lang/default.nix

26 lines
718 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2020-07-20 17:39:49 +01:00
version = "3.11";
pname = "commons-lang";
src = fetchurl {
url = "mirror://apache/commons/lang/binaries/commons-lang3-${version}-bin.tar.gz";
2020-07-20 17:39:49 +01:00
sha256 = "08w7zg9v48rlaq0n17dnph8jydz9srh1pl3ffs3xdfsg9a7axjm4";
};
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;
platforms = with stdenv.lib.platforms; unix;
};
}