2021-03-20 04:20:00 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, pkg-config
|
|
|
|
, libpng
|
|
|
|
, zlib
|
2024-05-15 15:35:15 +00:00
|
|
|
, wrapGAppsHook3
|
2021-03-20 04:20:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xmedcon";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "0.23.0";
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
2023-01-11 07:51:40 +00:00
|
|
|
sha256 = "sha256-g1CRJDokLDzB+1YIuVQNByBLx01CI47EwGeluqVDujk=";
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
glib
|
|
|
|
libpng
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook3 ];
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An open source toolkit for medical image conversion ";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://xmedcon.sourceforge.net/";
|
2021-03-20 04:20:00 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
maintainers = with maintainers; [ arianvp flokli ];
|
2021-12-06 16:07:01 +00:00
|
|
|
platforms = platforms.darwin ++ platforms.linux;
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
}
|