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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

75 lines
1.3 KiB
Nix
Raw Normal View History

2021-03-21 08:30:12 +01:00
{ lib
, stdenv
, fetchurl
, pkg-config
, gnome
2021-03-21 08:30:12 +01:00
, gtk3
, wrapGAppsHook
, librsvg
, gsound
, gettext
, itstool
, libxml2
, libgnome-games-support
, libgee
, meson
, ninja
, vala
, python3
, desktop-file-utils
, adwaita-icon-theme
}:
stdenv.mkDerivation rec {
pname = "gnome-robots";
2021-03-21 08:30:12 +01:00
version = "40.0";
src = fetchurl {
2021-03-21 08:30:12 +01:00
url = "mirror://gnome/sources/gnome-robots/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "04fbykj576dq1h6cycgfhh8wd6yxmlsqykvj188sbwahay42zgvg";
};
2019-03-11 18:38:20 +01:00
nativeBuildInputs = [
2021-03-21 08:30:12 +01:00
pkg-config
meson
ninja
vala
python3
libxml2
wrapGAppsHook
gettext
itstool
desktop-file-utils
2019-03-11 18:38:20 +01:00
];
2021-03-21 08:30:12 +01:00
buildInputs = [
2021-03-21 08:30:12 +01:00
gtk3
librsvg
gsound
libgnome-games-support
libgee
adwaita-icon-theme
];
2019-03-11 18:38:20 +01:00
postPatch = ''
chmod +x build-aux/meson_post_install.py
patchShebangs build-aux/meson_post_install.py
'';
2021-03-21 08:30:12 +01:00
passthru = {
updateScript = gnome.updateScript {
2021-03-21 08:30:12 +01:00
packageName = "gnome-robots";
attrPath = "gnome.gnome-robots";
2021-03-21 08:30:12 +01:00
};
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Robots";
description = "Avoid the robots and make them crash into each other";
mainProgram = "gnome-robots";
maintainers = teams.gnome.members;
2021-03-21 08:30:12 +01:00
license = licenses.gpl3Plus;
2022-12-07 20:43:19 +01:00
platforms = platforms.unix;
};
}