2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
|
|
|
, gettext, meson, gsound, librsvg, itstool, vala
|
|
|
|
, python3, ninja, desktop-file-utils }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "four-in-a-row";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "3.36.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/four-in-a-row/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "1y1ihh72zk0bgyj197dpwgwj1q91dhvp0rasrib8k18sisrdq31h";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig wrapGAppsHook gettext meson itstool vala
|
|
|
|
ninja python3 desktop-file-utils
|
|
|
|
];
|
|
|
|
buildInputs = [ gtk3 gsound librsvg gnome3.adwaita-icon-theme ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x build-aux/meson_post_install.py
|
|
|
|
patchShebangs build-aux/meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "four-in-a-row";
|
|
|
|
attrPath = "gnome3.four-in-a-row";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://wiki.gnome.org/Apps/Four-in-a-row";
|
|
|
|
description = "Make lines of the same color to win";
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|