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

32 lines
1017 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
, librsvg, libcanberra-gtk3, intltool, itstool, libxml2, libgnome-games-support
, libgee}:
stdenv.mkDerivation rec {
name = "gnome-robots-${version}";
2018-03-13 01:03:18 +00:00
version = "3.22.3";
src = fetchurl {
url = "mirror://gnome/sources/gnome-robots/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2018-03-13 01:03:18 +00:00
sha256 = "0dzcjd7rdmlzgr6rmljhrbccwif8wj0cr1xcrrj7malj33098wwk";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-robots"; attrPath = "gnome3.gnome-robots"; };
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
gtk3 wrapGAppsHook intltool itstool librsvg libcanberra-gtk3
libxml2 gnome3.defaultIconTheme libgnome-games-support libgee
];
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Robots;
description = "Avoid the robots and make them crash into each other";
maintainers = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
};
}