1 { lib, python3, fetchPypi }:
3 localPython = python3.override {
5 packageOverrides = self: super: {
6 # Can be removed once this is merged
7 # https://gitlab.com/pdftools/pdfposter/-/merge_requests/7
8 pypdf2 = super.pypdf2.overridePythonAttrs (oldAttrs: rec {
10 format = "setuptools";
14 hash = "sha256-PHut1RLCFxHrF4nC6tv5YnkonA+URS7lSoZHO/vv1zI=";
20 with localPython.pkgs; buildPythonApplication rec {
23 format = "setuptools";
25 propagatedBuildInputs = [ pypdf2 ];
28 pname = "pdftools.pdfposter";
30 hash = "sha256-yWFtHgVKAWs4dRlSk8t8cB2KBJeBOa0Frh3BLR9txS0=";
33 pythonImportsCheck = [
35 "pdftools.pdfposter.cmd"
39 description = "Split large pages of a PDF into smaller ones for poster printing";
40 homepage = "https://pdfposter.readthedocs.io";
41 license = licenses.gpl3Plus;
42 maintainers = with maintainers; [ wamserma ];