2014-09-20 07:19:32 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.3.1";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "commons-fileupload";
|
2014-09-20 07:19:32 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://apache/commons/fileupload/binaries/${pname}-${version}-bin.tar.gz";
|
2014-09-20 07:19:32 +01:00
|
|
|
sha256 = "1jy7w2j2ay56mpq4ij3331cf9zgpkm832ydr63svb35j0ymnky72";
|
|
|
|
};
|
|
|
|
installPhase = ''
|
|
|
|
tar xf ${src}
|
|
|
|
mkdir -p $out/share/java
|
|
|
|
cp lib/*.jar $out/share/java/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2014-11-11 13:20:43 +00:00
|
|
|
homepage = http://commons.apache.org/proper/commons-fileupload;
|
|
|
|
description = "Makes it easy to add robust, high-performance, file upload capability to your servlets and web applications";
|
2014-09-20 07:19:32 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ copumpkin ];
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
2014-09-20 07:19:32 +01:00
|
|
|
};
|
|
|
|
}
|