summaryrefslogtreecommitdiffstats
path: root/pkgs/games
diff options
context:
space:
mode:
authorMalo Bourgon <mbourgon@gmail.com>2022-05-04 17:46:39 -0700
committerMalo Bourgon <mbourgon@gmail.com>2022-05-04 18:08:19 -0700
commit16e15fa68f0247d1ccc9bf94e2906097bcaa2d5c (patch)
tree70613ead07ec6032ead7b0f068c62ccf7ea688f7 /pkgs/games
parent5d4bdece1f2d20eb16e5ee8e634134bd41ba02b1 (diff)
treewide: add meta.mainProgram to many packages
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/bugdom/default.nix5
-rw-r--r--pkgs/games/r2mod_cli/default.nix1
-rw-r--r--pkgs/games/tcl2048/default.nix3
3 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/games/bugdom/default.nix b/pkgs/games/bugdom/default.nix
index c5170c9845cc..fd8935594696 100644
--- a/pkgs/games/bugdom/default.nix
+++ b/pkgs/games/bugdom/default.nix
@@ -57,10 +57,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A port of Bugdom, a 1999 Macintosh game by Pangea Software, for modern operating systems";
homepage = "https://github.com/jorio/Bugdom";
- license = with licenses; [
- cc-by-sa-40
- ];
+ license = with licenses; [ cc-by-sa-40 ];
maintainers = with maintainers; [ lux ];
+ mainProgram = "Bugdom";
platforms = platforms.unix;
};
}
diff --git a/pkgs/games/r2mod_cli/default.nix b/pkgs/games/r2mod_cli/default.nix
index 607a53579c7e..eb1dd25811aa 100644
--- a/pkgs/games/r2mod_cli/default.nix
+++ b/pkgs/games/r2mod_cli/default.nix
@@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/foldex/r2mod_cli";
license = licenses.gpl3Only;
maintainers = [ maintainers.reedrw ];
+ mainProgram = "r2mod";
platforms = platforms.unix;
};
}
diff --git a/pkgs/games/tcl2048/default.nix b/pkgs/games/tcl2048/default.nix
index b2796225a6c7..b74d3630e0e6 100644
--- a/pkgs/games/tcl2048/default.nix
+++ b/pkgs/games/tcl2048/default.nix
@@ -21,7 +21,8 @@ tcl.mkTclDerivation rec {
homepage = "https://github.com/dbohdan/2048.tcl";
description = "The game of 2048 implemented in Tcl";
license = lib.licenses.mit;
- platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ dbohdan ];
+ mainProgram = "2048";
+ platforms = lib.platforms.all;
};
}