Skip to content

Commit

Permalink
python311Packages.xhtml2pdf: fix build
Browse files Browse the repository at this point in the history
- Remove the patch, it was already included in 0.2.16.
- Remove `pythonRelaxDeps`, it's not needed anymore
  • Loading branch information
drupol committed Oct 25, 2024
1 parent 3f6af76 commit dd7a1fa
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pkgs/development/python-modules/xhtml2pdf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
arabic-reshaper,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
html5lib,
pillow,
pyhanko,
Expand Down Expand Up @@ -31,21 +30,10 @@ buildPythonPackage rec {
hash = "sha256-sva1Oqz4FsLz/www8IPVxol3D0hx5F5hQ0I/rSRP9sE=";
};

patches = [
# https://github.com/xhtml2pdf/xhtml2pdf/pull/754
(fetchpatch2 {
name = "reportlab-compat.patch";
url = "https://github.com/xhtml2pdf/xhtml2pdf/commit/1252510bd23b833b45b4d252aeac62c1eb51eeef.patch";
hash = "sha256-9Fkn086uh2biabmiChbBna8Q4lJV/604yX1ng9j5TGs=";
})
];

nativeBuildInputs = [
setuptools
];

pythonRelaxDeps = [ "reportlab" ];

propagatedBuildInputs = [
arabic-reshaper
html5lib
Expand Down

0 comments on commit dd7a1fa

Please sign in to comment.