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