{ 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"; }; }