forked from mirrors/nixpkgs
python3Packages.img2pdf: apply patch to fix tests
This commit is contained in:
parent
c1e37f8517
commit
5e05ec3352
|
@ -2,6 +2,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, isPy27
|
, isPy27
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, fetchpatch
|
||||||
, pikepdf
|
, pikepdf
|
||||||
, pillow
|
, pillow
|
||||||
, stdenv
|
, stdenv
|
||||||
|
@ -26,6 +27,14 @@ buildPythonPackage rec {
|
||||||
sha256 = "8ec898a9646523fd3862b154f3f47cd52609c24cc3e2dc1fb5f0168f0cbe793c";
|
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 = [
|
propagatedBuildInputs = [
|
||||||
pikepdf
|
pikepdf
|
||||||
pillow
|
pillow
|
||||||
|
|
Loading…
Reference in a new issue