nixpkgs/pkgs/development/libraries/java/commons/io/default.nix
Daniel Peebles 588a5e92a3 Add commons-math (binary until I get maven build working)
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>
2014-09-20 22:31:47 +01:00

24 lines
652 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "2.4";
name = "commons-io-${version}";
src = fetchurl {
url = "mirror://apache/commons/io/binaries/${name}-bin.tar.gz";
sha256 = "0m5xmjfr9k2zmbrz425q530jd0lm6368c4wm3jsjlsrqmqjpsvz1";
};
installPhase = ''
tar xf ${src}
mkdir -p $out/share/java
cp *.jar $out/share/java/
'';
meta = {
homepage = "http://commons.apache.org/proper/commons-io";
description = "A library of utilities to assist with developing IO functionality";
maintainers = with stdenv.lib.maintainers; [ copumpkin ];
license = stdenv.lib.licenses.asl20;
};
}