mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
3b6bc4b69c
these are the easily identifiable cases and will not be comprehensive
26 lines
838 B
Nix
26 lines
838 B
Nix
{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;
|
|
};
|
|
}
|