Skip to content

Commit

Permalink
Merge pull request #281340 from michaelgrahamevans/chess-clock
Browse files Browse the repository at this point in the history
  • Loading branch information
amaxine authored Jan 16, 2024
2 parents a436870 + a4c7cc9 commit 74831a2
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions pkgs/by-name/ch/chess-clock/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{ lib
, desktop-file-utils
, fetchFromGitLab
, gobject-introspection
, gsound
, gtk4
, libadwaita
, meson
, ninja
, pkg-config
, python3
, stdenv
, wrapGAppsHook4
}:

stdenv.mkDerivation rec {
pname = "chess-clock";
version = "0.6.0";

src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = pname;
rev = "v${version}";
hash = "sha256-wwNOop2V84vZO3JV0+VZ+52cKPx8xJg2rLkjfgc/+n4=";
};

nativeBuildInputs = [
desktop-file-utils
gobject-introspection
meson
ninja
pkg-config
wrapGAppsHook4
];

buildInputs = [
gsound
gtk4
libadwaita
(python3.withPackages (ps: with ps; [
pygobject3
]))
];

meta = with lib; {
description = "Time games of over-the-board chess";
homepage = "https://gitlab.gnome.org/World/chess-clock";
changelog = "https://gitlab.gnome.org/World/chess-clock/-/releases/v${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ michaelgrahamevans ];
};
}

0 comments on commit 74831a2

Please sign in to comment.