mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
543cd40ecc
Done using `grep -rP 'description\s+=\s+"[^"]+[ ]";' | cut -d ':' -f 1 | xargs -i nvim {}` and sorting the opened files by hand, avoiding generated packages list
38 lines
732 B
Nix
38 lines
732 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchurl
|
|
, gtk3
|
|
, glib
|
|
, pkg-config
|
|
, libpng
|
|
, zlib
|
|
, wrapGAppsHook3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xmedcon";
|
|
version = "0.24.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
|
sha256 = "sha256-9NAAXGEVgpVPS7MB8FubnYUpkihE3lET/gep8QfPhB0=";
|
|
};
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
glib
|
|
libpng
|
|
zlib
|
|
];
|
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook3 ];
|
|
|
|
meta = with lib; {
|
|
description = "Open source toolkit for medical image conversion";
|
|
homepage = "https://xmedcon.sourceforge.net/";
|
|
license = licenses.lgpl2Plus;
|
|
maintainers = with maintainers; [ arianvp flokli ];
|
|
platforms = platforms.darwin ++ platforms.linux;
|
|
};
|
|
}
|