nottetris2: drop

crashes on startup:

[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
Error: No available video device
stack traceback:
        [C]: ?
        [C]: in function 'require'
        [string "boot.lua"]:1: in function <[string "boot.lua"]:1>
        [C]: in function 'xpcall'
This commit is contained in:
Jörg Thalheim 2022-01-15 13:57:39 +01:00
parent 0b087a8cbe
commit 89cabe5b05
3 changed files with 1 additions and 51 deletions

View file

@ -1,49 +0,0 @@
{ lib, stdenv, fetchFromGitHub, zip, love_0_7, makeWrapper, makeDesktopItem }:
let
pname = "nottetris2";
version = "2.0";
desktopItem = makeDesktopItem {
name = "nottetris2";
exec = pname;
comment = "It's like tetris, but it's not";
desktopName = "nottetris2";
genericName = "nottetris2";
categories = "Game";
};
in
stdenv.mkDerivation {
inherit pname version;
src = fetchFromGitHub {
owner = "Stabyourself";
repo = pname;
rev = "v${version}";
sha256 = "17iabh6rr8jim70n96rbhif4xq02g2kppscm8l339yqx6mhb64hs";
};
nativeBuildInputs = [ zip makeWrapper ];
buildInputs = [ love_0_7 ];
installPhase =
''
mkdir -p $out/bin $out/share/games/lovegames $out/share/applications
zip -9 -r ${pname}.love ./*
mv ${pname}.love $out/share/games/lovegames/${pname}.love
makeWrapper ${love_0_7}/bin/love $out/bin/${pname} --add-flags $out/share/games/lovegames/${pname}.love
ln -s ${desktopItem}/share/applications/* $out/share/applications/
chmod +x $out/bin/${pname}
'';
meta = with lib; {
description = "It's like Tetris, but it's not";
platforms = platforms.linux;
license = licenses.wtfpl;
maintainers = with maintainers; [ yorickvp ];
downloadPage = "https://stabyourself.net/nottetris2/";
};
}

View file

@ -656,6 +656,7 @@ mapAliases ({
nmap-unfree = nmap; # added 2021-04-06
nologin = shadow; # added 2018-04-25
nordic-polar = throw "nordic-polar was removed on 2021-05-27, now integrated in nordic"; # added 2021-05-27
nottetris2 = throw "nottetris2 was removed because it is unmaintained by upstream and broken"; # added 2022-01-15
now-cli = throw "now-cli has been replaced with nodePackages.vercel"; # added 2021-08-05
nxproxy = nx-libs; # added 2019-02-15
nylas-mail-bin = throw "nylas-mail-bin was deprecated on 2019-09-11: abandoned by upstream";

View file

@ -30868,8 +30868,6 @@ with pkgs;
newtonwars = callPackage ../games/newtonwars { };
nottetris2 = callPackage ../games/nottetris2 { };
nudoku = callPackage ../games/nudoku { };
nxengine-evo = callPackage ../games/nxengine-evo { };