Files
nixpkgs/pkgs/by-name/fa/fastjar/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

55 lines
1.2 KiB
Nix

{
lib,
callPackage,
fetchzip,
stdenv,
zlib,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fastjar";
version = "0.98";
src = fetchzip {
pname = "fastjar-source";
inherit (finalAttrs) version;
url = "mirror://savannah/fastjar/fastjar-${finalAttrs.version}.tar.gz";
hash = "sha256-8VyKNQaPLrXAy/UEm2QkBx56SSSoLdU/7w4IwrxbsQc=";
};
outputs = [
"out"
"info"
"man"
];
buildInputs = [ zlib ];
strictDeps = true;
doCheck = true;
passthru = {
tests = lib.packagesFromDirectoryRecursive {
inherit callPackage;
directory = ./tests;
};
};
meta = {
homepage = "https://savannah.nongnu.org/projects/fastjar/";
description = "Fast Java archiver written in C";
longDescription = ''
FastJar is an attempt at creating a feature-for-feature copy of Sun's
JDK's 'jar' command. Sun's jar (or Blackdown's for that matter) is
written entirely in Java which makes it dog slow. Since FastJar is
written in C, it can create the same .jar file as Sun's tool in a fraction
of the time.
'';
license = lib.licenses.gpl2Plus;
mainProgram = "fastjar";
maintainers = [ ];
platforms = lib.platforms.all;
};
})