2021-03-10 20:16:32 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, pkg-config
|
|
|
|
, libpng
|
|
|
|
, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xmedcon";
|
2022-04-10 07:36:08 +02:00
|
|
|
version = "0.22.0";
|
2021-03-10 20:16:32 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-06 02:56:39 +01:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
2022-04-10 07:36:08 +02:00
|
|
|
sha256 = "sha256-Ui7XoLSzTMPIFW/3nARCmvlGF+1l7pmcnKsnvn3NFJE=";
|
2021-03-10 20:16:32 +01: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 15:24:53 +01:00
|
|
|
platforms = platforms.darwin ++ platforms.linux;
|
2021-03-10 20:16:32 +01:00
|
|
|
};
|
|
|
|
}
|