{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook , librsvg, intltool, itstool, libxml2 }: stdenv.mkDerivation rec { inherit (import ./src.nix fetchurl) name src; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ gtk3 wrapGAppsHook librsvg intltool itstool libxml2 gnome3.defaultIconTheme ]; meta = with stdenv.lib; { homepage = https://wiki.gnome.org/Apps/Mahjongg; description = "Disassemble a pile of tiles by removing matching pairs"; maintainers = gnome3.maintainers; license = licenses.gpl2; platforms = platforms.linux; }; }