From 3bb53bf50098ef76f22a88d1b650c041fc026949 Mon Sep 17 00:00:00 2001 From: huantian Date: Tue, 1 Oct 2024 11:44:57 -0700 Subject: [PATCH] tetrio-desktop,tetrio-plus: update meta --- pkgs/by-name/te/tetrio-desktop/package.nix | 6 +++--- pkgs/by-name/te/tetrio-plus/package.nix | 11 ++++++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/te/tetrio-desktop/package.nix b/pkgs/by-name/te/tetrio-desktop/package.nix index dd8d76035c52..730e8218e2a1 100644 --- a/pkgs/by-name/te/tetrio-desktop/package.nix +++ b/pkgs/by-name/te/tetrio-desktop/package.nix @@ -52,13 +52,13 @@ stdenv.mkDerivation (finalAttrs: { meta = { changelog = "https://tetr.io/about/desktop/history/"; - description = "TETR.IO desktop client"; + description = "Desktop client for TETR.IO, an online stacker game"; downloadPage = "https://tetr.io/about/desktop/"; homepage = "https://tetr.io"; license = lib.licenses.unfree; longDescription = '' - TETR.IO is a modern yet familiar online stacker. - Play against friends and foes all over the world, or claim a spot on the leaderboards - the stacker future is yours! + TETR.IO is a free-to-win modern yet familiar online stacker. + Play multiplayer games against friends and foes all over the world, or claim a spot on the leaderboards - the stacker future is yours! ''; mainProgram = "tetrio"; maintainers = with lib.maintainers; [ diff --git a/pkgs/by-name/te/tetrio-plus/package.nix b/pkgs/by-name/te/tetrio-plus/package.nix index 9533b656d379..4accc5209d56 100644 --- a/pkgs/by-name/te/tetrio-plus/package.nix +++ b/pkgs/by-name/te/tetrio-plus/package.nix @@ -19,11 +19,12 @@ let version = "0.27.2"; + rev = "electron-v${version}-tetrio-v${lib.versions.major tetrio-desktop.version}"; src = fetchFromGitLab { owner = "UniQMG"; repo = "tetrio-plus"; - rev = "electron-v${version}-tetrio-v${lib.versions.major tetrio-version}"; + inherit rev; hash = "sha256-PvTivTt1Zuvk5gaCcQDcIBFsUf/ZG7TJYXqm0NP++Bw="; fetchSubmodules = true; @@ -153,9 +154,13 @@ stdenv.mkDerivation (finalAttrs: { ''; meta = { - description = "TETR.IO customization tool suite"; - downloadPage = "https://gitlab.com/UniQMG/tetrio-plus/-/releases"; + description = "Modified TETR.IO desktop app.asar with many customization tools"; + longDescription = '' + To use this, `override` the `withTetrioPlus` attribute of `tetrio-desktop`. + ''; homepage = "https://gitlab.com/UniQMG/tetrio-plus"; + downloadPage = "https://gitlab.com/UniQMG/tetrio-plus/-/releases"; + changelog = "https://gitlab.com/UniQMG/tetrio-plus/-/releases/${rev}"; license = [ lib.licenses.mit # while tetrio-plus is itself mit, the result of this derivation