nixpkgs/pkgs/development/python-modules/pdfposter/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

27 lines
644 B
Nix

{ lib, buildPythonPackage, fetchPypi, pypdf2 }:
buildPythonPackage rec {
pname = "pdftools.pdfposter";
version = "0.8.1";
format = "setuptools";
propagatedBuildInputs = [ pypdf2 ];
src = fetchPypi {
inherit pname version;
hash = "sha256-yWFtHgVKAWs4dRlSk8t8cB2KBJeBOa0Frh3BLR9txS0=";
};
pythonImportsCheck = [
"pdftools.pdfposter"
"pdftools.pdfposter.cmd"
];
meta = with lib; {
description = "Split large pages of a PDF into smaller ones for poster printing";
homepage = "https://pdfposter.readthedocs.io";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ wamserma ];
};
}