2021-02-05 17:12:51 +00:00
|
|
|
{ fetchurl, lib, stdenv, zlib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fastjar";
|
|
|
|
version = "0.98";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.savannah.gnu.org/releases/fastjar/fastjar-${version}.tar.gz";
|
|
|
|
sha256 = "0iginbz2m15hcsa3x4y7v3mhk54gr1r7m3ghx0pg4n46vv2snmpi";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
buildInputs = [ zlib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
meta = {
|
|
|
|
description = "Fast Java archiver written in C";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
homepage = "https://savannah.nongnu.org/projects/fastjar/";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = [ ];
|
|
|
|
};
|
|
|
|
}
|