1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

openslide: init at v3.4.1

OpenSlide is a C library that provides a simple interface to read whole-slide images (also known as virtual slides).

https://openslide.org

Apply suggestions from code review

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Leonardo Romor 2021-05-13 14:44:38 +02:00
parent de19ea1c4d
commit eb88a2fb42
No known key found for this signature in database
GPG key ID: C5AA5C8BBD49A6AA
2 changed files with 30 additions and 0 deletions

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

@ -17084,6 +17084,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 {};