openslide: python part 1.1.1 -> 1.1.2 (required by newer setuptools)

This commit is contained in:
Tyson Whitehead
2021-01-29 11:52:56 -05:00
parent 0f3acdeeea
commit 786d3ba8e8
2 changed files with 2 additions and 86 deletions

View File

@@ -3,18 +3,16 @@
, pillow }:
buildPythonPackage rec {
version = "1.1.1";
version = "1.1.2";
name = "openslide-python-${version}";
src = fetchFromGitHub {
owner = "openslide";
repo = "openslide-python";
rev = "v${version}";
sha256 = "1is8g8vy8s1xgfw8q76gdx8ygwvj56cl0vxfd3lx0iys15wzs7a4";
sha256 = "0hjzmpdkii0kmndnix58ngd1fzskypzfc166gf970if0rkdxpqw7";
};
patches = [ ./zero-size-test-skip.patch ];
postPatch = ''
sed -i 's|LoadLibrary('\'''libopenslide.so.0'\''')|LoadLibrary('\'''${openslide}/lib/libopenslide.so.0'\''')|' openslide/lowlevel.py
'';