mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 15:23:26 +00:00
27 lines
646 B
Nix
27 lines
646 B
Nix
{ lib, buildPythonPackage, fetchPypi, pypdf2 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pdftools.pdfposter";
|
|
version = "0.8.1";
|
|
format = "setuptools";
|
|
|
|
propagatedBuildInputs = [ pypdf2 ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "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 ];
|
|
};
|
|
}
|