nixpkgs/pkgs/by-name/co/commonsIo/package.nix
2024-12-05 08:05:06 +00:00

27 lines
750 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "2.18.0";
pname = "commons-io";
src = fetchurl {
url = "mirror://apache/commons/io/binaries/${pname}-${version}-bin.tar.gz";
sha256 = "sha256-qrB4cLnvaTQaZJWrrDO8IYsYI2hp6/nN7nCRcFhKTeE=";
};
installPhase = ''
tar xf ${src}
mkdir -p $out/share/java
cp *.jar $out/share/java/
'';
meta = {
homepage = "https://commons.apache.org/proper/commons-io";
description = "Library of utilities to assist with developing IO functionality";
maintainers = with lib.maintainers; [ copumpkin ];
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
license = lib.licenses.asl20;
platforms = with lib.platforms; unix;
};
}