seth e1c234e5e2
treewide: add updateScript to gnome circle packages (#367823)
* decoder: remove gnome circle team from maintainers

This was mistakenly placed here instead of in `gnome-decoder`

* gnome-decoder: add gnome circle team to maintainers

* treewide: add updateScript to gnome circle packages
2024-12-28 18:24:45 -05:00

62 lines
1.0 KiB
Nix

{
lib,
desktop-file-utils,
fetchFromGitLab,
gobject-introspection,
gsound,
gtk4,
libadwaita,
meson,
ninja,
nix-update-script,
pkg-config,
python3,
stdenv,
wrapGAppsHook4,
}:
stdenv.mkDerivation rec {
pname = "chess-clock";
version = "0.6.1";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = pname;
rev = "v${version}";
hash = "sha256-XDOCHFZC3s3b/4kD1ZkhWar3kozW3vXc0pk7O6oQfiE=";
};
nativeBuildInputs = [
desktop-file-utils
gobject-introspection
meson
ninja
pkg-config
wrapGAppsHook4
];
buildInputs = [
gsound
gtk4
libadwaita
(python3.withPackages (
ps: with ps; [
pygobject3
]
))
];
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Time games of over-the-board chess";
homepage = "https://gitlab.gnome.org/World/chess-clock";
license = lib.licenses.gpl3Plus;
mainProgram = "chess-clock";
maintainers = lib.teams.gnome-circle.members;
};
}