nixpkgs/pkgs/applications/science/medicine/xmedcon/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
746 B
Nix
Raw Normal View History

{ stdenv
, lib
, fetchurl
, gtk3
, glib
, pkg-config
, libpng
, zlib
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "xmedcon";
2023-01-09 18:28:57 +00:00
version = "0.23.0";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
2023-01-09 18:28:57 +00:00
sha256 = "sha256-g1CRJDokLDzB+1YIuVQNByBLx01CI47EwGeluqVDujk=";
};
buildInputs = [
gtk3
glib
libpng
zlib
];
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
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 ];
platforms = platforms.darwin ++ platforms.linux;
};
}