2023-01-10 06:53:31 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
}:
|
2018-07-07 17:32:52 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
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; {
|
2023-01-21 21:41:12 +00:00
|
|
|
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";
|
2024-03-19 02:14:51 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|