nixpkgs/pkgs/tools/security/pdfcrack/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
666 B
Nix
Raw Normal View History

2023-01-10 06:53:31 +00:00
{ lib
, stdenv
, fetchurl
}:
2018-07-07 17:32:52 +01:00
stdenv.mkDerivation rec {
pname = "pdfcrack";
2023-01-09 23:52:18 +00:00
version = "0.20";
2018-07-07 17:32:52 +01:00
src = fetchurl {
url = "mirror://sourceforge/pdfcrack/pdfcrack/pdfcrack-${version}.tar.gz";
2023-01-10 06:53:31 +00:00
hash = "sha256-e4spsY/NXLmErrZA7gbt8J/t5HCbWcMv7k8thoYN5bQ=";
2018-07-07 17:32:52 +01:00
};
installPhase = ''
install -Dt $out/bin pdfcrack
'';
meta = with lib; {
homepage = "https://pdfcrack.sourceforge.net/";
2018-07-07 17:32:52 +01:00
description = "Small command line driven tool for recovering passwords and content from PDF files";
mainProgram = "pdfcrack";
2023-01-10 06:53:31 +00:00
license = with licenses; [ gpl2Plus ];
2021-03-19 06:18:54 +00:00
platforms = platforms.all;
2018-07-07 17:32:52 +01:00
maintainers = with maintainers; [ qoelet ];
};
}