nixpkgs/pkgs/desktops/gnome-3/games/iagno/default.nix

38 lines
1.1 KiB
Nix
Raw Normal View History

2019-05-22 12:03:39 +01:00
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk-pixbuf, librsvg, wrapGAppsHook
, itstool, libcanberra-gtk3, libxml2
2019-03-11 18:40:53 +00:00
, meson, ninja, python3, vala, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "iagno";
2019-03-11 18:40:53 +00:00
version = "3.32.0";
src = fetchurl {
url = "mirror://gnome/sources/iagno/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2019-03-11 18:40:53 +00:00
sha256 = "1rcqb4gpam16xw87n4q2akkrg94ksrn16ry21pr6bsd7qs7hw17d";
};
2019-03-11 18:40:53 +00:00
nativeBuildInputs = [
meson ninja python3 vala desktop-file-utils
pkgconfig wrapGAppsHook itstool libxml2
];
2019-05-22 12:03:39 +01:00
buildInputs = [ gtk3 gnome3.adwaita-icon-theme gdk-pixbuf librsvg libcanberra-gtk3 ];
enableParallelBuilding = true;
2018-09-05 01:50:08 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = "iagno";
attrPath = "gnome3.iagno";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Iagno;
description = "Computer version of the game Reversi, more popularly called Othello";
maintainers = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
};
}