blob: 40c66909213e18896514125add776962b3da5185 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
version = "1.4";
pname = "commons-fileupload";
src = fetchurl {
url = "mirror://apache/commons/fileupload/binaries/${pname}-${version}-bin.tar.gz";
sha256 = "1avfv4gljp7flra767yzas54vfb6az9s1nhxfjv48jj2x0llxxkx";
};
installPhase = ''
tar xf ${src}
mkdir -p $out/share/java
cp commons-fileupload-*-bin/*.jar $out/share/java/
'';
meta = {
homepage = "https://commons.apache.org/proper/commons-fileupload";
description = "Makes it easy to add robust, high-performance, file upload capability to your servlets and web applications";
maintainers = with lib.maintainers; [ copumpkin ];
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
license = lib.licenses.asl20;
platforms = with lib.platforms; unix;
};
}
|