1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
5 pname = "commons-compress";
8 url = "mirror://apache/commons/compress/binaries/${pname}-${version}-bin.tar.gz";
9 sha256 = "sha256-isxV/gTOjVQW3716cr8ZrlLnOn8YWWr6p1SHYlwhdvA=";
14 mkdir -p $out/share/java
15 cp *.jar $out/share/java/
19 homepage = "https://commons.apache.org/proper/commons-compress";
20 description = "Allows manipulation of ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200, bzip2, 7z, arj, lzma, snappy, DEFLATE and Z files";
21 maintainers = with lib.maintainers; [ copumpkin ];
22 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
23 license = lib.licenses.asl20;
24 platforms = with lib.platforms; unix;