Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 32 lines 877 B view raw
1{ fetchurl, stdenv, zlib }: 2 3let version = "0.98"; in 4 stdenv.mkDerivation { 5 pname = "fastjar"; 6 inherit version; 7 8 src = fetchurl { 9 url = "https://download.savannah.gnu.org/releases/fastjar/fastjar-${version}.tar.gz"; 10 sha256 = "0iginbz2m15hcsa3x4y7v3mhk54gr1r7m3ghx0pg4n46vv2snmpi"; 11 }; 12 13 buildInputs = [ zlib ]; 14 15 doCheck = true; 16 17 meta = { 18 description = "Fast Java archiver written in C"; 19 20 longDescription = '' 21 Fastjar is a version of Sun's `jar' utility, written entirely in C, and 22 therefore quite a bit faster. Fastjar can be up to 100x faster than 23 the stock `jar' program running without a JIT. 24 ''; 25 26 homepage = https://savannah.nongnu.org/projects/fastjar/; 27 28 license = stdenv.lib.licenses.gpl2Plus; 29 platforms = stdenv.lib.platforms.linux; 30 maintainers = [ ]; 31 }; 32 }