2021-03-10 19:16:32 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, pkg-config
|
|
|
|
, libpng
|
|
|
|
, zlib
|
2023-08-22 17:40:58 +00:00
|
|
|
, wrapGAppsHook
|
2021-03-10 19:16:32 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xmedcon";
|
2023-01-09 18:28:57 +00:00
|
|
|
version = "0.23.0";
|
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";
|
2023-01-09 18:28:57 +00:00
|
|
|
sha256 = "sha256-g1CRJDokLDzB+1YIuVQNByBLx01CI47EwGeluqVDujk=";
|
2021-03-10 19:16:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
glib
|
|
|
|
libpng
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
2023-08-22 17:40:58 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
2021-03-10 19:16:32 +00:00
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|