diff options
Diffstat (limited to 'nixpkgs/pkgs/games/tetrio-desktop/tetrio-plus.nix')
-rw-r--r-- | nixpkgs/pkgs/games/tetrio-desktop/tetrio-plus.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/tetrio-desktop/tetrio-plus.nix b/nixpkgs/pkgs/games/tetrio-desktop/tetrio-plus.nix new file mode 100644 index 000000000000..64f5dd5d85cc --- /dev/null +++ b/nixpkgs/pkgs/games/tetrio-desktop/tetrio-plus.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchzip }: + +stdenv.mkDerivation rec { + pname = "tetrio-plus"; + version = "0.25.3"; + + src = fetchzip { + url = "https://gitlab.com/UniQMG/tetrio-plus/uploads/684477053451cd0819e2c84e145966eb/tetrio-plus_0.25.3_app.asar.zip"; + sha256 = "sha256-GQgt4GZNeKx/uzmVsuKppW2zg8AAiGqsk2JYJIkqfVE="; + }; + + installPhase = '' + runHook preInstall + + install app.asar $out + + runHook postInstall + ''; + + meta = with lib; { + description = "TETR.IO customization toolkit"; + homepage = "https://gitlab.com/UniQMG/tetrio-plus"; + license = licenses.mit; + maintainers = with maintainers; [ huantian ]; + platforms = [ "x86_64-linux" ]; + }; +} |