2021-03-10 19:16:32 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, pkg-config
|
|
|
|
, libpng
|
|
|
|
, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xmedcon";
|
2021-11-05 14:27:54 +00:00
|
|
|
version = "0.21.2";
|
2021-03-10 19:16:32 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-06 01:56:39 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
2021-11-05 14:27:54 +00:00
|
|
|
sha256 = "0svff8rc3j2p47snaq1hx9mv4ydmxawpb0hf3d165g1ccjwvmm6m";
|
2021-03-10 19:16:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
glib
|
|
|
|
libpng
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An open source toolkit for medical image conversion ";
|
|
|
|
homepage = "https://xmedcon.sourceforge.io/Main/HomePage";
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
maintainers = with maintainers; [ arianvp flokli ];
|
2021-11-05 14:24:53 +00:00
|
|
|
platforms = platforms.darwin ++ platforms.linux;
|
2021-03-10 19:16:32 +00:00
|
|
|
};
|
|
|
|
}
|