Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / games / tetrio-desktop / tetrio-plus.nix
blob64f5dd5d85cc7884eb49c1ebda425878a0fdcffd
1 { lib, stdenv, fetchzip }:
3 stdenv.mkDerivation rec {
4   pname = "tetrio-plus";
5   version = "0.25.3";
7   src = fetchzip {
8     url = "https://gitlab.com/UniQMG/tetrio-plus/uploads/684477053451cd0819e2c84e145966eb/tetrio-plus_0.25.3_app.asar.zip";
9     sha256 = "sha256-GQgt4GZNeKx/uzmVsuKppW2zg8AAiGqsk2JYJIkqfVE=";
10   };
12   installPhase = ''
13     runHook preInstall
15     install app.asar $out
17     runHook postInstall
18   '';
20   meta = with lib; {
21     description = "TETR.IO customization toolkit";
22     homepage = "https://gitlab.com/UniQMG/tetrio-plus";
23     license = licenses.mit;
24     maintainers = with maintainers; [ huantian ];
25     platforms = [ "x86_64-linux" ];
26   };