nixpkgs/pkgs/desktops/gnome-3/games/four-in-a-row/default.nix

31 lines
955 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
2018-03-14 00:41:23 +00:00
, gettext, itstool, libcanberra-gtk3, librsvg, libxml2 }:
stdenv.mkDerivation rec {
name = "four-in-a-row-${version}";
2018-03-13 01:03:18 +00:00
version = "3.28.0";
src = fetchurl {
url = "mirror://gnome/sources/four-in-a-row/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2018-03-13 01:03:18 +00:00
sha256 = "1iszaay2r92swb0q67lmip6r1w3hw2dwmlgnz9v2h6blgdyncs4k";
};
2018-03-14 00:41:23 +00:00
nativeBuildInputs = [ pkgconfig wrapGAppsHook gettext itstool libxml2 ];
2019-02-13 21:47:50 +00:00
buildInputs = [ gtk3 libcanberra-gtk3 librsvg gnome3.adwaita-icon-theme ];
2018-03-14 00:41:23 +00:00
passthru = {
2018-03-14 00:41:23 +00:00
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 = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
};
}