python310Packages.xhtml2pdf: 0.2.6 -> 0.2.7

This commit is contained in:
P. R. d. O 2022-04-21 18:28:51 -06:00 committed by Jonathan Ringer
parent 7f3efc4ffb
commit 0ca5daa176

View file

@ -4,6 +4,7 @@
, fetchFromGitHub , fetchFromGitHub
, html5lib , html5lib
, pillow , pillow
, pyhanko
, pypdf3 , pypdf3
, pytestCheckHook , pytestCheckHook
, python-bidi , python-bidi
@ -14,22 +15,25 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "xhtml2pdf"; pname = "xhtml2pdf";
version = "0.2.6"; version = "0.2.7";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
# Tests are only available on GitHub
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; # Currently it is not possible to fetch from version as there is a branch with the same name
hash = "sha256-EyIERvAC98LqPTMCdwWqTkm1RiMhikscL0tnMZUHIT8="; rev = "afa72cdbbdaf7d459261c1605263101ffcd999af";
sha256 = "sha256-plyIM7Ohnp5UBWz/UDTJa1UeWK9yckSZR16wxmLrpnc=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
arabic-reshaper arabic-reshaper
html5lib html5lib
pillow pillow
pyhanko
pypdf3 pypdf3
python-bidi python-bidi
reportlab reportlab