thumbor: fix build

thumbor 6.3.2 requires Pillow >=3.0.0 && <4.0.0 whereas presently nixpkgs'
Pillow is at 4.x.x. An upstream commit in a yet unreleased version of thumbor
relaxes the bounds to >=3.0.0 && <5.0.0, and is included here as a patch.
This commit is contained in:
Piotr Bogdan 2017-08-30 18:33:24 +01:00
parent 0bb2d3112b
commit b60c9aa950

View file

@ -26373,6 +26373,13 @@ EOF
sha256 = "0787245x4yci34cdfc9xaxhds0lv60476qgp132pwa78hrpc9m31";
};
patches = [
(pkgs.fetchurl {
url = "https://github.com/thumbor/thumbor/commit/376f688a8a0b82e50388c885d9d733572f2eb3e6.patch";
sha256 = "1j2434yqb6pz61d65dsy8w6lvyzvh5ksizadi5hgjzfw6s46v6yn";
})
];
prePatch = ''
substituteInPlace setup.py \
--replace '"argparse",' ""