blast: fix and enable strictDeps (#366620)
[NixPkgs.git] / pkgs / by-name / ch / chess-clock / package.nix
blob232b59c1bdba2adf8b70481edca6a18198100dbb
2   lib,
3   desktop-file-utils,
4   fetchFromGitLab,
5   gobject-introspection,
6   gsound,
7   gtk4,
8   libadwaita,
9   meson,
10   ninja,
11   nix-update-script,
12   pkg-config,
13   python3,
14   stdenv,
15   wrapGAppsHook4,
18 stdenv.mkDerivation rec {
19   pname = "chess-clock";
20   version = "0.6.1";
22   src = fetchFromGitLab {
23     domain = "gitlab.gnome.org";
24     owner = "World";
25     repo = pname;
26     rev = "v${version}";
27     hash = "sha256-XDOCHFZC3s3b/4kD1ZkhWar3kozW3vXc0pk7O6oQfiE=";
28   };
30   nativeBuildInputs = [
31     desktop-file-utils
32     gobject-introspection
33     meson
34     ninja
35     pkg-config
36     wrapGAppsHook4
37   ];
39   buildInputs = [
40     gsound
41     gtk4
42     libadwaita
43     (python3.withPackages (
44       ps: with ps; [
45         pygobject3
46       ]
47     ))
48   ];
50   passthru = {
51     updateScript = nix-update-script { };
52   };
54   meta = {
55     description = "Time games of over-the-board chess";
56     homepage = "https://gitlab.gnome.org/World/chess-clock";
57     license = lib.licenses.gpl3Plus;
58     mainProgram = "chess-clock";
59     maintainers = lib.teams.gnome-circle.members;
60   };