3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/java/commons/lang/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
717 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "3.9";
pname = "commons-lang";
src = fetchurl {
url = "mirror://apache/commons/lang/binaries/commons-lang3-${version}-bin.tar.gz";
sha256 = "0l0q1hnicvpbjmxl81ig3rwc212x5sdfnlg3cniwbmnx8fxjgbki";
};
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;
};
}