2016-09-18 12:35:23 -07:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
|
|
|
, intltool, itstool, librsvg, libxml2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 12:07:20 -08:00
|
|
|
name = "gnome-chess-${version}";
|
2018-03-12 18:03:18 -07:00
|
|
|
version = "3.28.0";
|
2018-02-25 12:07:20 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gnome-chess/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-03-12 18:03:18 -07:00
|
|
|
sha256 = "1vxgb36njv4v3bgdpwxd89rvr6s6pkbh9d3xislxqry2yp4f03w0";
|
2018-02-25 12:07:20 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "gnome-chess"; attrPath = "gnome3.gnome-chess"; };
|
|
|
|
};
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2017-09-14 12:24:37 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2016-09-18 12:35:23 -07:00
|
|
|
buildInputs = [
|
2017-09-14 12:24:37 -07:00
|
|
|
gtk3 wrapGAppsHook intltool itstool librsvg libxml2
|
2016-09-18 12:35:23 -07:00
|
|
|
gnome3.defaultIconTheme
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Chess;
|
|
|
|
description = "Play the classic two-player boardgame of chess";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|