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

24 lines
632 B
Nix
Raw Normal View History

2018-07-07 17:32:52 +01:00
{ stdenv, lib, fetchurl }:
stdenv.mkDerivation rec {
pname = "pdfcrack";
2020-05-06 10:59:51 +01:00
version = "0.19";
2018-07-07 17:32:52 +01:00
src = fetchurl {
url = "mirror://sourceforge/pdfcrack/pdfcrack/pdfcrack-${version}.tar.gz";
2020-05-06 10:59:51 +01:00
sha256 = "1vf0l83xk627fg0a3b10wabgqxy08q4vbm0xjw9xzkdpk1lj059i";
2018-07-07 17:32:52 +01:00
};
installPhase = ''
install -Dt $out/bin pdfcrack
'';
meta = with lib; {
homepage = "http://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";
license = with licenses; [ gpl2 ];
2021-03-19 06:18:54 +00:00
platforms = platforms.all;
2018-07-07 17:32:52 +01:00
maintainers = with maintainers; [ qoelet ];
};
}