Merge pull request #309438 from pyrox0/rst2pdf-build-fix

rst2pdf: Fix postInstall build

authored by Pol Dellaiera and committed by GitHub e577daf8 ba454fe3

+5 -3
+5 -3
pkgs/development/python-modules/rst2pdf/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , setuptools 5 , setuptools-scm 6 , wheel ··· 31 outputs = [ "out" "man" ]; 32 33 nativeBuildInputs = [ 34 setuptools 35 setuptools-scm 36 wheel ··· 62 doCheck = false; 63 64 postInstall = '' 65 - mkdir -p $man/share/man/man1/ 66 - ${docutils}/bin/rst2man.py doc/rst2pdf.rst $man/share/man/man1/rst2pdf.1 67 ''; 68 69 meta = with lib; { ··· 72 homepage = "https://rst2pdf.org/"; 73 changelog = "https://github.com/rst2pdf/rst2pdf/blob/${version}/CHANGES.rst"; 74 license = licenses.mit; 75 - maintainers = with maintainers; [ ]; 76 }; 77 }
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , installShellFiles 5 , setuptools 6 , setuptools-scm 7 , wheel ··· 32 outputs = [ "out" "man" ]; 33 34 nativeBuildInputs = [ 35 + installShellFiles 36 setuptools 37 setuptools-scm 38 wheel ··· 64 doCheck = false; 65 66 postInstall = '' 67 + ${lib.getExe' docutils "rst2man"} doc/rst2pdf.rst rst2pdf.1 68 + installManPage rst2pdf.1 69 ''; 70 71 meta = with lib; { ··· 74 homepage = "https://rst2pdf.org/"; 75 changelog = "https://github.com/rst2pdf/rst2pdf/blob/${version}/CHANGES.rst"; 76 license = licenses.mit; 77 + maintainers = with maintainers; [ pyrox0 ]; 78 }; 79 }