generated from GarandPLG/rust-flake-template
Update package metadata and description
- Define `pname` once and inherit it in the package definition. - Change description to “TUI underground RTS”. - Set `mainProgram` to `pname` for consistency.
This commit is contained in:
+4
-4
@@ -7,11 +7,11 @@
|
|||||||
versionCheckHook,
|
versionCheckHook,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
}: let
|
}: let
|
||||||
|
pname = "war-in-tunnels";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
pname = "war-in-tunnels";
|
inherit pname version;
|
||||||
inherit version;
|
|
||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
# src = fetchFromGitea {
|
# src = fetchFromGitea {
|
||||||
@@ -38,13 +38,13 @@ in
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "TUI underground game";
|
description = "TUI underground RTS";
|
||||||
homepage = "https://gitea.garandplg.com/GarandPLG/war-in-tunnels";
|
homepage = "https://gitea.garandplg.com/GarandPLG/war-in-tunnels";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
platforms = ["x86_64-linux"];
|
platforms = ["x86_64-linux"];
|
||||||
maintainers = with lib.maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
GarandPLG
|
GarandPLG
|
||||||
];
|
];
|
||||||
mainProgram = "war-in-tunnels";
|
mainProgram = pname;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user