nixpkgs/pkgs/development/tools/java/fastjar/default.nix
2021-07-18 00:19:24 +02:00

31 lines
806 B
Nix

{ fetchurl, lib, stdenv, zlib }:
stdenv.mkDerivation rec {
pname = "fastjar";
version = "0.98";
src = fetchurl {
url = "https://download.savannah.gnu.org/releases/fastjar/fastjar-${version}.tar.gz";
sha256 = "0iginbz2m15hcsa3x4y7v3mhk54gr1r7m3ghx0pg4n46vv2snmpi";
};
buildInputs = [ zlib ];
doCheck = true;
meta = {
description = "Fast Java archiver written in C";
longDescription = ''
Fastjar is a version of Sun's `jar' utility, written entirely in C, and
therefore quite a bit faster. Fastjar can be up to 100x faster than
the stock `jar' program running without a JIT.
'';
homepage = "https://savannah.nongnu.org/projects/fastjar/";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = [ ];
};
}