HASH f3895ce019a3
DATE 2024-11-19
SUBJECT pkgs: remove instawow
FILES 5 CHANGED
HASH f3895ce019a3
DATE 2024-11-19
SUBJECT pkgs: remove instawow
FILES 5 CHANGED
┌─ modules/home/workstation/gaming/world-of-warcraft.nix ────────────────────┐
│ diff --git a/modules/home/workstation/gaming/world-of-warcraft.nix b/modules/home/ │
│ workstation/gaming/world-of-warcraft.nix │
│ deleted file mode 100644 │
│ index 5bb944c..0000000 │
│ --- a/modules/home/workstation/gaming/world-of-warcraft.nix │
│ +++ /dev/null │
│ @@ -1,55 +0,0 @@ │
│ -{ │
│ - lib, │
│ - config, │
│ - pkgs, │
│ - ... │
│ -}: let │
│ - inherit (lib) mkIf mkEnableOption mkOption; │
│ - inherit (lib.types) str package; │
│ - inherit (config.ooknet) gaming; │
│ - gamesDir = config.xdg.userDirs.extraConfig.XDG_GAMES_DIR; │
│ - cfg = config.ooknet.gaming.world-of-warcraft; │
│ -in { │
│ - options.ooknet.gaming.world-of-warcraft = { │
│ - enable = mkEnableOption "Enable the World of Warcraft module"; │
│ - │
│ - proton = { │
│ - package = mkOption { │
│ - type = package; │
│ - default = pkgs.proton-ge-custom; │
│ - }; │
│ - prefix = { │
│ - path = mkOption { │
│ - type = str; │
│ - default = "${gaming.prefixPath}/WoW"; │
│ - }; │
│ - }; │
│ - compatDataPath = mkOption { │
│ - type = str; │
│ - default = "${gaming.compatDataPath}/"; │
│ - }; │
│ - }; │
│ - │
│ - gamePrefixPath = mkOption { │
│ - type = str; │
│ - default = "${cfg.winePrefixesPath}/WoW"; │
│ - description = "Location where the World of Warcraft prefix will be stored." │
│ ; │
│ - }; │
│ - │
│ - gamePath = mkOption { │
│ - type = str; │
│ - default = "${cfg.world-of-warcraft.gamePrefixPath}/drive_c/Program Files (x │
│ 86)/World of Warcraft"; │
│ - description = "Location where the World of Warcraft installation will be sy │
│ mlinked."; │
│ - }; │
│ - │
│ - gameSharedPath = mkOption { │
│ - type = str; │
│ - default = "${cfg.wineProgramsPath}/World Of Warcraft"; │
│ - description = "Location where World of Warcraft game files are stored."; │
│ - }; │
│ - }; │
│ - config = │
│ - mkIf cfg.enable { │
│ - }; │
│ -} │
│ - │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ .../gaming/world-of-warcraft.nix ───┐
│ diff --git a/modules/home/workstation/gaming │
│ /world-of-warcraft.nix b/modules/home/workst │
│ ation/gaming/world-of-warcraft.nix │
│ deleted file mode 100644 │
│ index 5bb944c..0000000 │
│ --- a/modules/home/workstation/gaming/world- │
│ of-warcraft.nix │
│ +++ /dev/null │
│ @@ -1,55 +0,0 @@ │
│ -{ │
│ - lib, │
│ - config, │
│ - pkgs, │
│ - ... │
│ -}: let │
│ - inherit (lib) mkIf mkEnableOption mkOptio │
│ n; │
│ - inherit (lib.types) str package; │
│ - inherit (config.ooknet) gaming; │
│ - gamesDir = config.xdg.userDirs.extraConfi │
│ g.XDG_GAMES_DIR; │
│ - cfg = config.ooknet.gaming.world-of-warcr │
│ aft; │
│ -in { │
│ - options.ooknet.gaming.world-of-warcraft = │
│ { │
│ - enable = mkEnableOption "Enable the Wor │
│ ld of Warcraft module"; │
│ - │
│ - proton = { │
│ - package = mkOption { │
│ - type = package; │
│ - default = pkgs.proton-ge-custom; │
│ - }; │
│ - prefix = { │
│ - path = mkOption { │
│ - type = str; │
│ - default = "${gaming.prefixPath}/W │
│ oW"; │
│ - }; │
│ - }; │
│ - compatDataPath = mkOption { │
│ - type = str; │
│ - default = "${gaming.compatDataPath} │
│ /"; │
│ - }; │
│ - }; │
│ - │
│ - gamePrefixPath = mkOption { │
│ - type = str; │
│ - default = "${cfg.winePrefixesPath}/Wo │
│ W"; │
│ - description = "Location where the Wor │
│ ld of Warcraft prefix will be stored."; │
│ - }; │
│ - │
│ - gamePath = mkOption { │
│ - type = str; │
│ - default = "${cfg.world-of-warcraft.ga │
│ mePrefixPath}/drive_c/Program Files (x86)/Wo │
│ rld of Warcraft"; │
│ - description = "Location where the Wor │
│ ld of Warcraft installation will be symlinke │
│ d."; │
│ - }; │
│ - │
│ - gameSharedPath = mkOption { │
│ - type = str; │
│ - default = "${cfg.wineProgramsPath}/Wo │
│ rld Of Warcraft"; │
│ - description = "Location where World o │
│ f Warcraft game files are stored."; │
│ - }; │
│ - }; │
│ - config = │
│ - mkIf cfg.enable { │
│ - }; │
│ -} │
│ - │
└──────────────────────────────────────────────┘
┌─ modules/home/workstation/gaming/wow.nix ──────────────────────────────────┐
│ diff --git a/modules/home/workstation/gaming/wow.nix b/modules/home/workstation/ga │
│ ming/wow.nix │
│ index 9ca101e..0c82934 100644 │
│ --- a/modules/home/workstation/gaming/wow.nix │
│ +++ b/modules/home/workstation/gaming/wow.nix │
│ @@ -2,7 +2,6 @@ │
│ lib, │
│ osConfig, │
│ pkgs, │
│ - self', │
│ ... │
│ }: let │
│ inherit (lib) mkIf elem; │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...me/workstation/gaming/wow.nix ───┐
│ diff --git a/modules/home/workstation/gaming │
│ /wow.nix b/modules/home/workstation/gaming/w │
│ ow.nix │
│ index 9ca101e..0c82934 100644 │
│ --- a/modules/home/workstation/gaming/wow.ni │
│ x │
│ +++ b/modules/home/workstation/gaming/wow.ni │
│ x │
│ @@ -2,7 +2,6 @@ │
│ lib, │
│ osConfig, │
│ pkgs, │
│ - self', │
│ ... │
│ }: let │
│ inherit (lib) mkIf elem; │
└──────────────────────────────────────────────┘
┌─ outputs/pkgs/default.nix ─────────────────────────────────────────────────┐
│ diff --git a/outputs/pkgs/default.nix b/outputs/pkgs/default.nix │
│ index 7290bf9..037b1b3 100644 │
│ --- a/outputs/pkgs/default.nix │
│ +++ b/outputs/pkgs/default.nix │
│ @@ -7,7 +7,6 @@ │
│ packages = { │
│ repopack = callPackage ./repopack {}; │
│ live-buds-cli = callPackage ./live-buds-cli {}; │
│ - instawow-tsm = callPackage ./instawow/plugins/tsm.nix {}; │
│ website = callPackage ./website {}; │
│ │
│ ook-vim = mkNeovim pkgs [ook-vim-config]; │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ outputs/pkgs/default.nix ───────────┐
│ diff --git a/outputs/pkgs/default.nix b/outp │
│ uts/pkgs/default.nix │
│ index 7290bf9..037b1b3 100644 │
│ --- a/outputs/pkgs/default.nix │
│ +++ b/outputs/pkgs/default.nix │
│ @@ -7,7 +7,6 @@ │
│ packages = { │
│ repopack = callPackage ./repopack {}; │
│ live-buds-cli = callPackage ./live-bu │
│ ds-cli {}; │
│ - instawow-tsm = callPackage ./instawow │
│ /plugins/tsm.nix {}; │
│ website = callPackage ./website {}; │
│ │
│ ook-vim = mkNeovim pkgs [ook-vim-conf │
│ ig]; │
└──────────────────────────────────────────────┘
┌─ outputs/pkgs/instawow/default.nix ────────────────────────────────────────┐
│ diff --git a/outputs/pkgs/instawow/default.nix b/outputs/pkgs/instawow/default.nix │
│ deleted file mode 100644 │
│ index 9584fab..0000000 │
│ --- a/outputs/pkgs/instawow/default.nix │
│ +++ /dev/null │
│ @@ -1,54 +0,0 @@ │
│ -# Credit github:seirl │
│ -# <https://github.com/seirl/seirl-nixos/blob/a10128546a5412049ce547f2f6ce6a80b3c2 │
│ 53af/pkgs/instawow/default.nix> │
│ -{ │
│ - lib, │
│ - python3, │
│ - fetchFromGitHub, │
│ - plugins ? [], │
│ -}: │
│ -python3.pkgs.buildPythonApplication rec { │
│ - pname = "instawow"; │
│ - version = "4.7.0"; │
│ - pyproject = true; │
│ - │
│ - src = fetchFromGitHub { │
│ - owner = "layday"; │
│ - repo = pname; │
│ - rev = "refs/tags/v${version}"; │
│ - sha256 = "sha256-tk/Lugjdzufl8VPcpj7R2q81SBE/+KtS3VhsXQ2VKZM="; │
│ - }; │
│ - │
│ - extras = []; # Disable GUI, most dependencies are not packaged. │
│ - │
│ - nativeBuildInputs = with python3.pkgs; [ │
│ - hatchling │
│ - hatch-vcs │
│ - ]; │
│ - propagatedBuildInputs = with python3.pkgs; │
│ - [ │
│ - aiohttp │
│ - aiohttp-client-cache │
│ - attrs │
│ - cattrs │
│ - click │
│ - diskcache │
│ - iso8601 │
│ - loguru │
│ - packaging │
│ - pluggy │
│ - prompt-toolkit │
│ - rapidfuzz │
│ - truststore │
│ - typing-extensions │
│ - yarl │
│ - ] │
│ - ++ plugins; │
│ - │
│ - meta = with lib; { │
│ - homepage = "https://github.com/layday/instawow"; │
│ - description = "World of Warcraft add-on manager CLI and GUI"; │
│ - mainProgram = "instawow"; │
│ - license = licenses.gpl3; │
│ - maintainers = with maintainers; [seirl]; │
│ - }; │
│ -} │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...uts/pkgs/instawow/default.nix ───┐
│ diff --git a/outputs/pkgs/instawow/default.n │
│ ix b/outputs/pkgs/instawow/default.nix │
│ deleted file mode 100644 │
│ index 9584fab..0000000 │
│ --- a/outputs/pkgs/instawow/default.nix │
│ +++ /dev/null │
│ @@ -1,54 +0,0 @@ │
│ -# Credit github:seirl │
│ -# <https://github.com/seirl/seirl-nixos/blo │
│ b/a10128546a5412049ce547f2f6ce6a80b3c253af/p │
│ kgs/instawow/default.nix> │
│ -{ │
│ - lib, │
│ - python3, │
│ - fetchFromGitHub, │
│ - plugins ? [], │
│ -}: │
│ -python3.pkgs.buildPythonApplication rec { │
│ - pname = "instawow"; │
│ - version = "4.7.0"; │
│ - pyproject = true; │
│ - │
│ - src = fetchFromGitHub { │
│ - owner = "layday"; │
│ - repo = pname; │
│ - rev = "refs/tags/v${version}"; │
│ - sha256 = "sha256-tk/Lugjdzufl8VPcpj7R2q │
│ 81SBE/+KtS3VhsXQ2VKZM="; │
│ - }; │
│ - │
│ - extras = []; # Disable GUI, most dependen │
│ cies are not packaged. │
│ - │
│ - nativeBuildInputs = with python3.pkgs; [ │
│ - hatchling │
│ - hatch-vcs │
│ - ]; │
│ - propagatedBuildInputs = with python3.pkgs │
│ ; │
│ - [ │
│ - aiohttp │
│ - aiohttp-client-cache │
│ - attrs │
│ - cattrs │
│ - click │
│ - diskcache │
│ - iso8601 │
│ - loguru │
│ - packaging │
│ - pluggy │
│ - prompt-toolkit │
│ - rapidfuzz │
│ - truststore │
│ - typing-extensions │
│ - yarl │
│ - ] │
│ - ++ plugins; │
│ - │
│ - meta = with lib; { │
│ - homepage = "https://github.com/layday/i │
│ nstawow"; │
│ - description = "World of Warcraft add-on │
│ manager CLI and GUI"; │
│ - mainProgram = "instawow"; │
│ - license = licenses.gpl3; │
│ - maintainers = with maintainers; [seirl] │
│ ; │
│ - }; │
│ -} │
└──────────────────────────────────────────────┘
┌─ outputs/pkgs/instawow/plugins/tsm.nix ────────────────────────────────────┐
│ diff --git a/outputs/pkgs/instawow/plugins/tsm.nix b/outputs/pkgs/instawow/plugins │
│ /tsm.nix │
│ deleted file mode 100644 │
│ index c26068a..0000000 │
│ --- a/outputs/pkgs/instawow/plugins/tsm.nix │
│ +++ /dev/null │
│ @@ -1,43 +0,0 @@ │
│ -# Credit github:seirl │
│ -# <https://github.com/seirl/seirl-nixos/blob/a10128546a5412049ce547f2f6ce6a80b3c2 │
│ 53af/pkgs/instawow/plugins/tsm.nix> │
│ -{ │
│ - lib, │
│ - python3, │
│ - fetchFromGitHub, │
│ - instawow, │
│ -}: let │
│ - inherit (builtins) attrValues; │
│ -in │
│ - python3.pkgs.buildPythonPackage rec { │
│ - pname = "instawow-tsm"; │
│ - version = "72edf2ba3850eaaa5041d5aa1f55166aeee81409"; │
│ - │
│ - src = fetchFromGitHub { │
│ - owner = "seirl"; │
│ - repo = "instawow-tsm"; │
│ - rev = version; │
│ - sha256 = "sha256-+ojxVwPOfy3/3/raROEDS5pWCONAiALCdg7li+K6ZjI="; │
│ - }; │
│ - │
│ - pythonRemoveDeps = [ │
│ - "instawow" # Reverse the dependency │
│ - ]; │
│ - doCheck = false; # tests require dependencies │
│ - │
│ - nativeBuildInputs = [python3.pkgs.setuptools]; │
│ - propagatedBuildInputs = attrValues { │
│ - inherit │
│ - (python3.pkgs) │
│ - aiohttp │
│ - click │
│ - loguru │
│ - ; │
│ - }; │
│ - │
│ - meta = with lib; { │
│ - homepage = "https://github.com/seirl/instawow-tsm"; │
│ - description = "Instawow plugin for TradeSkillMaster"; │
│ - license = lib.licenses.gpl3; │
│ - maintainers = with maintainers; [seirl]; │
│ - }; │
│ - } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...pkgs/instawow/plugins/tsm.nix ───┐
│ diff --git a/outputs/pkgs/instawow/plugins/t │
│ sm.nix b/outputs/pkgs/instawow/plugins/tsm.n │
│ ix │
│ deleted file mode 100644 │
│ index c26068a..0000000 │
│ --- a/outputs/pkgs/instawow/plugins/tsm.nix │
│ +++ /dev/null │
│ @@ -1,43 +0,0 @@ │
│ -# Credit github:seirl │
│ -# <https://github.com/seirl/seirl-nixos/blo │
│ b/a10128546a5412049ce547f2f6ce6a80b3c253af/p │
│ kgs/instawow/plugins/tsm.nix> │
│ -{ │
│ - lib, │
│ - python3, │
│ - fetchFromGitHub, │
│ - instawow, │
│ -}: let │
│ - inherit (builtins) attrValues; │
│ -in │
│ - python3.pkgs.buildPythonPackage rec { │
│ - pname = "instawow-tsm"; │
│ - version = "72edf2ba3850eaaa5041d5aa1f55 │
│ 166aeee81409"; │
│ - │
│ - src = fetchFromGitHub { │
│ - owner = "seirl"; │
│ - repo = "instawow-tsm"; │
│ - rev = version; │
│ - sha256 = "sha256-+ojxVwPOfy3/3/raROED │
│ S5pWCONAiALCdg7li+K6ZjI="; │
│ - }; │
│ - │
│ - pythonRemoveDeps = [ │
│ - "instawow" # Reverse the dependency │
│ - ]; │
│ - doCheck = false; # tests require depend │
│ encies │
│ - │
│ - nativeBuildInputs = [python3.pkgs.setup │
│ tools]; │
│ - propagatedBuildInputs = attrValues { │
│ - inherit │
│ - (python3.pkgs) │
│ - aiohttp │
│ - click │
│ - loguru │
│ - ; │
│ - }; │
│ - │
│ - meta = with lib; { │
│ - homepage = "https://github.com/seirl/ │
│ instawow-tsm"; │
│ - description = "Instawow plugin for Tr │
│ adeSkillMaster"; │
│ - license = lib.licenses.gpl3; │
│ - maintainers = with maintainers; [seir │
│ l]; │
│ - }; │
│ - } │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET