2016-09-18 21:35:23 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
2018-03-14 01:41:23 +01:00
|
|
|
, gettext, itstool, libcanberra-gtk3, librsvg, libxml2 }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 21:07:20 +01:00
|
|
|
name = "four-in-a-row-${version}";
|
2018-03-13 02:03:18 +01:00
|
|
|
version = "3.28.0";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 02:12:11 +02:00
|
|
|
url = "mirror://gnome/sources/four-in-a-row/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-03-13 02:03:18 +01:00
|
|
|
sha256 = "1iszaay2r92swb0q67lmip6r1w3hw2dwmlgnz9v2h6blgdyncs4k";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2018-03-14 01:41:23 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook gettext itstool libxml2 ];
|
|
|
|
buildInputs = [ gtk3 libcanberra-gtk3 librsvg gnome3.defaultIconTheme ];
|
|
|
|
|
2018-02-25 21:07:20 +01:00
|
|
|
passthru = {
|
2018-03-14 01:41:23 +01:00
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "four-in-a-row";
|
|
|
|
attrPath = "gnome3.four-in-a-row";
|
|
|
|
};
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Four-in-a-row;
|
|
|
|
description = "Make lines of the same color to win";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|