Switch to native upstream rst2pdf 0.100
This commit is contained in:
parent
a7d4a5c51b
commit
64f95249ab
|
@ -14,7 +14,7 @@ with pkgs; [
|
||||||
st
|
st
|
||||||
ncdu
|
ncdu
|
||||||
tree
|
tree
|
||||||
(callPackage ./packages/rst2pdf { })
|
rst2pdf
|
||||||
|
|
||||||
borgbackup
|
borgbackup
|
||||||
keepassxc
|
keepassxc
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
{ python3, lib }:
|
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
|
||||||
pname = "rst2pdf";
|
|
||||||
version = "0.99";
|
|
||||||
|
|
||||||
src = python3.pkgs.fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "8fa23fa93bddd1f52d058ceaeab6582c145546d80f2f8a95974f3703bd6c8152";
|
|
||||||
};
|
|
||||||
|
|
||||||
# We do not install extras, and tests for extras might fail
|
|
||||||
# Extras are sphinx, plantuml, …
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
|
||||||
docutils
|
|
||||||
importlib-metadata
|
|
||||||
jinja2
|
|
||||||
packaging
|
|
||||||
pygments
|
|
||||||
pyyaml
|
|
||||||
reportlab
|
|
||||||
smartypants
|
|
||||||
|
|
||||||
pillow
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Convert reStructured Text to PDF via ReportLab.";
|
|
||||||
homepage = "https://rst2pdf.org/";
|
|
||||||
license = licenses.mit;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue