2021-03-10 19:16:32 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, gtk3
|
|
|
|
, glib
|
|
|
|
, pkg-config
|
|
|
|
, libpng
|
|
|
|
, zlib
|
2024-04-26 20:24:03 +00:00
|
|
|
, wrapGAppsHook3
|
2021-03-10 19:16:32 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xmedcon";
|
2024-06-09 05:32:44 +00:00
|
|
|
version = "0.24.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";
|
2024-06-09 05:32:44 +00:00
|
|
|
sha256 = "sha256-9NAAXGEVgpVPS7MB8FubnYUpkihE3lET/gep8QfPhB0=";
|
2021-03-10 19:16:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
glib
|
|
|
|
libpng
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
2024-04-26 20:24:03 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook3 ];
|
2021-03-10 19:16:32 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-07-26 00:18:51 +00:00
|
|
|
description = "Open source toolkit for medical image conversion";
|
2023-08-22 17:43:26 +00:00
|
|
|
homepage = "https://xmedcon.sourceforge.net/";
|
2021-03-10 19:16:32 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|