Files
nixpkgs/pkgs/by-name/pd/pdfrip/package.nix
Bendix Sonnenberg 414430524b pdfrip: 2.0.1 -> 3.0.0
[changelog](https://github.com/mufeedvh/pdfrip/releases/tag/v3.0.0)
the new version includes a Cargo.lock file in the repository,
therefore pdfrip/Cargo.lock can be deleted and removed from package.nix
2026-05-07 21:40:02 +02:00

29 lines
706 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "pdfrip";
version = "3.0.0";
src = fetchFromGitHub {
owner = "mufeedvh";
repo = "pdfrip";
tag = "v${finalAttrs.version}";
hash = "sha256-VytsSVcKx1/A9BSlmRdkD61txDvFOaSfG411565q9eY=";
};
cargoHash = "sha256-JKZ29fW/B4rJe6g6VKkgZdxlA2eaaAgjztFQ/5kDF1o=";
meta = {
description = "PDF password cracking utility";
homepage = "https://github.com/mufeedvh/pdfrip";
changelog = "https://github.com/mufeedvh/pdfrip/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "pdfrip";
};
})