depot/third_party/nixpkgs/pkgs/tools/security/pdfcrack/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

26 lines
636 B
Nix

{ lib
, stdenv
, fetchurl
}:
stdenv.mkDerivation rec {
pname = "pdfcrack";
version = "0.20";
src = fetchurl {
url = "mirror://sourceforge/pdfcrack/pdfcrack/pdfcrack-${version}.tar.gz";
hash = "sha256-e4spsY/NXLmErrZA7gbt8J/t5HCbWcMv7k8thoYN5bQ=";
};
installPhase = ''
install -Dt $out/bin pdfcrack
'';
meta = with lib; {
homepage = "https://pdfcrack.sourceforge.net/";
description = "Small command line driven tool for recovering passwords and content from PDF files";
license = with licenses; [ gpl2Plus ];
platforms = platforms.all;
maintainers = with maintainers; [ qoelet ];
};
}