Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 25 lines 775 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 version = "1.18"; 5 name = "commons-compress-${version}"; 6 7 src = fetchurl { 8 url = "mirror://apache/commons/compress/binaries/${name}-bin.tar.gz"; 9 sha256 = "0ciwzq134rqh1fp7qba091rajf2pdagfb665rarni7glb2x4lha1"; 10 }; 11 12 installPhase = '' 13 tar xf ${src} 14 mkdir -p $out/share/java 15 cp *.jar $out/share/java/ 16 ''; 17 18 meta = { 19 homepage = http://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 stdenv.lib.maintainers; [ copumpkin ]; 22 license = stdenv.lib.licenses.asl20; 23 platforms = with stdenv.lib.platforms; unix; 24 }; 25}