summary refs log tree commit diff
path: root/pkgs/development/tools/java/fastjar/default.nix
blob: c8bb94412cad6cd3e1e1eb978cb3daedf88fab59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ fetchurl, stdenv, zlib }:

let version = "0.94"; in
  stdenv.mkDerivation rec {
    name = "fastjar-${version}";

    src = fetchurl {
      url = "mirror://sourceforge/fastjar/${version}/${name}.tar.gz";
      sha256 = "15bvhvn2fzpziynk4myg1wl70wxa5a6v65hkzlcgnzh1wg1py8as";
    };

    buildInputs = [ zlib ];

    doCheck = true;

    meta = {
      description = "FastJar, a 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 = http://fastjar.sourceforge.net/;

      license = stdenv.lib.licenses.gpl2Plus;

      maintainers = [ ];
    };
  }