mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
588a5e92a3
Drop jakarta name from fileupload and update its version Jakarta regexp has been officially retired, and nothing in nixpkgs uses it, so let’s get rid of it. Add commons-io More commons additions/cleanup Closes #4181 Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
25 lines
683 B
Nix
25 lines
683 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "3.3.2";
|
|
name = "commons-lang-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://apache/commons/lang/binaries/commons-lang3-${version}-bin.tar.gz";
|
|
sha256 = "1fmcx52h4cd2b7bplm7wy3725vh8bix64j3ykkxcn357y4j8ddzr";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|