Skip to content

Commit

Permalink
python3Packages.img2pdf: apply patch to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Sep 15, 2022
1 parent c1e37f8 commit 5e05ec3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/python-modules/img2pdf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, buildPythonPackage
, isPy27
, fetchPypi
, fetchpatch
, pikepdf
, pillow
, stdenv
Expand All @@ -26,6 +27,14 @@ buildPythonPackage rec {
sha256 = "8ec898a9646523fd3862b154f3f47cd52609c24cc3e2dc1fb5f0168f0cbe793c";
};

patches = [
(fetchpatch {
# https://gitlab.mister-muffin.de/josch/img2pdf/issues/148
url = "https://gitlab.mister-muffin.de/josch/img2pdf/commit/57d7e07e6badb252c12015388b58fcb5285d3158.patch";
hash = "sha256-H/g55spe/oVJRxO2Vh+F+ZgR6aLoRUrNeu5WnuU7k/k=";
})
];

propagatedBuildInputs = [
pikepdf
pillow
Expand Down

0 comments on commit 5e05ec3

Please sign in to comment.