2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2014-09-19 23:19:32 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-04 13:18:26 -07:00
|
|
|
version = "1.20";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "commons-compress";
|
2014-09-19 23:19:32 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "mirror://apache/commons/compress/binaries/${pname}-${version}-bin.tar.gz";
|
2020-05-04 13:18:26 -07:00
|
|
|
sha256 = "0zx1sc0rw3vzjan69vxr2qw82y9b0hqdzp4plcahc3c1y0vkz3fg";
|
2014-09-19 23:19:32 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
tar xf ${src}
|
|
|
|
mkdir -p $out/share/java
|
|
|
|
cp *.jar $out/share/java/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://commons.apache.org/proper/commons-compress";
|
2014-11-11 05:20:43 -08:00
|
|
|
description = "Allows manipulation of ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200, bzip2, 7z, arj, lzma, snappy, DEFLATE and Z files";
|
2021-01-21 09:00:13 -08:00
|
|
|
maintainers = with lib.maintainers; [ copumpkin ];
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
platforms = with lib.platforms; unix;
|
2014-09-19 23:19:32 -07:00
|
|
|
};
|
|
|
|
}
|