rimshot: 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 14:06:31 +01:00
parent 89cabe5b05
commit e52a956960
3 changed files with 1 additions and 57 deletions

View file

@ -1,55 +0,0 @@
{ lib, stdenv, fetchurl, unzip, love, lua, makeWrapper, makeDesktopItem }:
stdenv.mkDerivation rec {
pname = "rimshot";
version = "1.0";
src = fetchurl {
url = "https://stabyourself.net/dl.php?file=${pname}/${pname}-source.zip";
sha256 = "08pdkyvki92549605m9bqnr24ipkbwkp5nkr5aagdqnr8ai4rgmi";
};
icon = fetchurl {
url = "http://stabyourself.net/images/screenshots/rimshot-2.png";
sha256 = "08fyiqym3gcpq2vgb5dvafkban42fsbzfcr3iiyw03hz99q53psd";
};
desktopItem = makeDesktopItem {
name = "rimshot";
exec = pname;
icon = icon;
comment = "Create your own music";
desktopName = "Rimshot";
genericName = "rimshot";
categories = "Audio;AudioVideo;Music";
};
nativeBuildInputs = [ makeWrapper unzip ];
buildInputs = [ lua love ];
unpackPhase = ''
unzip -j $src
'';
installPhase =
''
mkdir -p $out/bin
mkdir -p $out/share/games/lovegames
cp -v ./*.love $out/share/games/lovegames/${pname}.love
makeWrapper ${love}/bin/love $out/bin/${pname} --add-flags $out/share/games/lovegames/${pname}.love
chmod +x $out/bin/${pname}
mkdir -p $out/share/applications
ln -s ${desktopItem}/share/applications/* $out/share/applications/
'';
meta = with lib; {
description = "Create your own music";
maintainers = with maintainers; [ leenaars ];
platforms = platforms.linux;
license = licenses.free;
downloadPage = "http://stabyourself.net/rimshot/";
};
}

View file

@ -855,6 +855,7 @@ mapAliases ({
qt-recordmydesktop = throw "qt-recordmydesktop has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10
qt-3 = throw "qt-3 has been removed from nixpkgs, as it's unmaintained and insecure"; # added 2021-02-15
rfkill = throw "rfkill has been removed, as it's included in util-linux"; # added 2020-08-23
rimshot = throw "rimshot has been removed, because it is broken and no longer maintained upstream"; # added 2022-01-15
riak-cs = throw "riak-cs is not maintained anymore"; # added 2020-10-14
ring-daemon = jami-daemon; # added 2021-10-26
radare2-cutter = cutter; # added 2021-03-30

View file

@ -31018,8 +31018,6 @@ with pkgs;
rili = callPackage ../games/rili { };
rimshot = callPackage ../games/rimshot { love = love_0_7; };
rogue = callPackage ../games/rogue {
ncurses = ncurses5;
};