openslide: Initial packaging (includes python interface)
* Add upstream commit 4ea9211 for Pillow issue 2259
This commit is contained in:
33
openslide/default.nix
Normal file
33
openslide/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
with import <nixpkgs> { };
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.4.1";
|
||||
name = "openslide-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openslide";
|
||||
repo = "openslide";
|
||||
rev = "v${version}";
|
||||
sha256 = "1g4hhjr4cbx754cwi9wl84k33bkg232w8ajic7aqhzm8x182hszp";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
autoreconfHook
|
||||
pkgconfig
|
||||
zlib
|
||||
openjpeg
|
||||
libtiff
|
||||
cairo
|
||||
libpng
|
||||
gdk_pixbuf
|
||||
libxml2
|
||||
sqlite
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://openslide.org;
|
||||
description = "A C library that provides a simple interface to read whole-slide images.";
|
||||
platforms = platforms.all;
|
||||
license = licenses.lgpl2;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user