mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
e506914cfb
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 1.16.1 in filename of file in /nix/store/bkj0f3csgr7z46ancws66bzgcxpamq8x-commons-compress-1.16.1 - directory tree listing: https://gist.github.com/2f7f8d5e9ede388260bcf5a3e305bd80
26 lines
777 B
Nix
26 lines
777 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.16.1";
|
|
name = "commons-compress-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://apache/commons/compress/binaries/${name}-bin.tar.gz";
|
|
sha256 = "0yz2m3qac1idg9346i64mjfrkq4kniajzx2manyybhj43v9dpx37";
|
|
};
|
|
|
|
installPhase = ''
|
|
tar xf ${src}
|
|
mkdir -p $out/share/java
|
|
cp *.jar $out/share/java/
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://commons.apache.org/proper/commons-compress;
|
|
description = "Allows manipulation of ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200, bzip2, 7z, arj, lzma, snappy, DEFLATE and Z files";
|
|
maintainers = with stdenv.lib.maintainers; [ copumpkin ];
|
|
license = stdenv.lib.licenses.asl20;
|
|
platforms = with stdenv.lib.platforms; unix;
|
|
};
|
|
}
|