2014-09-20 06:19:32 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-20 05:40:06 +00:00
|
|
|
version = "2.6";
|
2014-09-20 06:19:32 +00:00
|
|
|
name = "commons-io-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://apache/commons/io/binaries/${name}-bin.tar.gz";
|
2018-03-20 05:40:06 +00:00
|
|
|
sha256 = "1nzkv8gi56l1m4h7s8bcvqm0naq3bhh7fazcmgdhcr2zkjs5zfmn";
|
2014-09-20 06:19:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
2014-09-20 06:19:32 +00:00
|
|
|
};
|
|
|
|
}
|