Merge pull request #122830 from lromor/openslide

This commit is contained in:
Sandro 2021-05-17 19:29:09 +02:00 committed by GitHub
commit 811b50437a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View File

@ -5874,6 +5874,12 @@
githubId = 10626;
name = "Andreas Wagner";
};
lromor = {
email = "leonardo.romor@gmail.com";
github = "lromor";
githubId = 1597330;
name = "Leonardo Romor";
};
lrworth = {
email = "luke@worth.id.au";
name = "Luke Worth";

View File

@ -0,0 +1,28 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook
, pkg-config, cairo, glib, gdk-pixbuf, libjpeg
, libpng, libtiff, libxml2, openjpeg, sqlite, zlib
}:
stdenv.mkDerivation rec {
pname = "openslide";
version = "3.4.1";
src = fetchFromGitHub {
owner = "openslide";
repo = "openslide";
rev = "v${version}";
sha256 = "1g4hhjr4cbx754cwi9wl84k33bkg232w8ajic7aqhzm8x182hszp";
};
buildInputs = [ cairo glib gdk-pixbuf libjpeg libpng libtiff libxml2 openjpeg sqlite zlib ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
meta = with lib; {
homepage = "https://openslide.org";
description = "A C library that provides a simple interface to read whole-slide images.";
license = licenses.lgpl21;
platforms = platforms.unix;
maintainers = with maintainers; [ lromor ];
};
}

View File

@ -17120,6 +17120,8 @@ in
inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Foundation;
};
openslide = callPackage ../development/libraries/openslide { };
openslp = callPackage ../development/libraries/openslp {};
openvdb = callPackage ../development/libraries/openvdb {};