Merge pull request #280380 from fabaff/veldora

pdfrip: init at 2.0.1
This commit is contained in:
Fabian Affolter 2024-01-12 09:20:53 +01:00 committed by GitHub
commit 8e74f20c7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1061 additions and 0 deletions

1028
pkgs/by-name/pd/pdfrip/Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,33 @@
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "pdfrip";
version = "2.0.1";
src = fetchFromGitHub {
owner = "mufeedvh";
repo = "pdfrip";
rev = "refs/tags/v${version}";
hash = "sha256-9KDWd71MJ2W9Xp3uqp0iZMmkBwIay+L4gnPUt7hylS0=";
};
cargoLock = {
lockFile = ./Cargo.lock;
};
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
meta = with lib; {
description = "PDF password cracking utility";
homepage = "https://github.com/mufeedvh/pdfrip";
changelog = "https://github.com/mufeedvh/pdfrip/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "pdfrip";
};
}