- Rename app/binary/app-id to nomines (io.github.bemagri.nomines), config dir moves to ~/.config/nomines with legacy path fallback - Add persistent best-time leaderboard (Glib::KeyFile) - Theme-aware board following system light/dark preference - Beveled 3D cells, confetti win animation, keyboard shortcuts, right-click chording, per-difficulty window sizing - Add AppStream metainfo, validate desktop file and metainfo via meson tests - Fix license metadata to GPL-3.0-or-later and real homepage
49 lines
869 B
Nix
49 lines
869 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, wrapGAppsHook4
|
|
, gtk4
|
|
, gtkmm4
|
|
, libsigcxx
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "nomines";
|
|
version = "1.0.0";
|
|
|
|
src = ./.;
|
|
|
|
# If you want to use fetchFromGitHub instead:
|
|
# src = fetchFromGitHub {
|
|
# owner = "bemagri";
|
|
# repo = "nomines";
|
|
# rev = "v${version}";
|
|
# hash = "sha256-0000000000000000000000000000000000000000000=";
|
|
# };
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
gtkmm4
|
|
libsigcxx
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Modern Minesweeper game with GTK4 interface";
|
|
homepage = "https://github.com/bemagri/nomines";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ /* your name here */ ];
|
|
mainProgram = "nomines";
|
|
};
|
|
}
|