nixpkgs/pkgs/games/tetrio-desktop/tetrio-plus.nix

28 lines
670 B
Nix
Raw Normal View History

2022-11-07 01:49:35 +01:00
{ lib, stdenv, fetchzip }:
stdenv.mkDerivation rec {
pname = "tetrio-plus";
2023-03-07 07:33:22 +01:00
version = "0.25.3";
2022-11-07 01:49:35 +01:00
src = fetchzip {
2023-03-07 07:33:22 +01:00
url = "https://gitlab.com/UniQMG/tetrio-plus/uploads/684477053451cd0819e2c84e145966eb/tetrio-plus_0.25.3_app.asar.zip";
sha256 = "sha256-GQgt4GZNeKx/uzmVsuKppW2zg8AAiGqsk2JYJIkqfVE=";
2022-11-07 01:49:35 +01:00
};
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" ];
};
}