2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
|
|
|
, librsvg, libxml2, intltool, itstool, libgee, libgames-support }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "gnome-klotski-${version}";
|
2018-03-13 01:03:18 +00:00
|
|
|
version = "3.22.3";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gnome-klotski/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-03-13 01:03:18 +00:00
|
|
|
sha256 = "0prc0s28pdflgzyvk1g0yfx982q2grivmz3858nwpqmbkha81r7f";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "gnome-klotski"; attrPath = "gnome3.gnome-klotski"; };
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2017-09-14 20:24:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2016-09-18 20:35:23 +01:00
|
|
|
buildInputs = [
|
2017-09-14 20:24:37 +01:00
|
|
|
gtk3 wrapGAppsHook intltool itstool librsvg libxml2 libgee libgames-support
|
2016-09-18 20:35:23 +01:00
|
|
|
gnome3.defaultIconTheme
|
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|