2021-01-16 18:21:50 -08:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gnome3, gtk3, wrapGAppsHook
|
2019-09-02 09:45:09 -07:00
|
|
|
, librsvg, gsound, gettext, itstool, libxml2, libgnome-games-support
|
2019-09-12 07:25:05 -07:00
|
|
|
, libgee, meson, ninja, python3, desktop-file-utils, adwaita-icon-theme }:
|
2016-09-18 12:35:23 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "gnome-robots";
|
2020-08-25 00:31:22 -07:00
|
|
|
version = "3.38.0";
|
2018-02-25 12:07:20 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 05:21:58 -08:00
|
|
|
url = "mirror://gnome/sources/gnome-robots/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-08-25 00:31:22 -07:00
|
|
|
sha256 = "1qpzpsyj9i5dsfy7anfb2dcm602bjkcgqj86fxvnxy6llx56ks0z";
|
2018-02-25 12:07:20 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "gnome-robots"; attrPath = "gnome3.gnome-robots"; };
|
|
|
|
};
|
2016-09-18 12:35:23 -07:00
|
|
|
|
2019-03-11 10:38:20 -07:00
|
|
|
nativeBuildInputs = [
|
2021-01-16 18:21:50 -08:00
|
|
|
pkg-config meson ninja python3
|
2019-03-11 10:38:20 -07:00
|
|
|
libxml2 wrapGAppsHook gettext itstool desktop-file-utils
|
|
|
|
];
|
2016-09-18 12:35:23 -07:00
|
|
|
buildInputs = [
|
2019-09-02 09:45:09 -07:00
|
|
|
gtk3 librsvg gsound libgnome-games-support libgee adwaita-icon-theme
|
2016-09-18 12:35:23 -07:00
|
|
|
];
|
|
|
|
|
2019-03-11 10:38:20 -07:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x build-aux/meson_post_install.py
|
|
|
|
patchShebangs build-aux/meson_post_install.py
|
|
|
|
'';
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Robots";
|
2016-09-18 12:35:23 -07:00
|
|
|
description = "Avoid the robots and make them crash into each other";
|
2020-04-01 05:40:51 -07:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 12:35:23 -07:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|