2018-03-15 00:06:04 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, vala, gnome3, gtk3, wrapGAppsHook, appstream-glib, desktop-file-utils
|
|
|
|
, glib, librsvg, libxml2, intltool, itstool, libgee, libgnome-games-support }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-15 00:06:04 +00:00
|
|
|
let
|
|
|
|
pname = "gnome-klotski";
|
2018-03-13 01:03:18 +00:00
|
|
|
version = "3.22.3";
|
2018-03-15 00:06:04 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-03-13 01:03:18 +00:00
|
|
|
sha256 = "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2018-03-15 00:06:04 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig vala wrapGAppsHook intltool itstool libxml2 appstream-glib desktop-file-utils ];
|
2019-02-13 21:47:50 +00:00
|
|
|
buildInputs = [ glib gtk3 librsvg libgee libgnome-games-support gnome3.adwaita-icon-theme ];
|
2018-03-15 00:06:04 +00:00
|
|
|
|
2018-02-25 20:07:20 +00:00
|
|
|
passthru = {
|
2018-03-15 00:06:04 +00:00
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "${pname}";
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Klotski;
|
|
|
|
description = "Slide blocks to solve the puzzle";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|