sdl-jstest: disable SDL1 build

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
Marcin Serwin
2025-11-01 22:14:53 +01:00
parent 05cf39a79d
commit f516853cf7

View File

@@ -4,7 +4,6 @@
fetchFromGitHub, fetchFromGitHub,
cmake, cmake,
pkg-config, pkg-config,
SDL,
SDL2, SDL2,
ncurses, ncurses,
docbook_xsl, docbook_xsl,
@@ -24,10 +23,10 @@ stdenv.mkDerivation {
}; };
buildInputs = [ buildInputs = [
SDL
SDL2 SDL2
ncurses ncurses
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
pkg-config pkg-config
@@ -35,11 +34,14 @@ stdenv.mkDerivation {
git git
]; ];
cmakeFlags = [ (lib.cmakeBool "BUILD_SDL_JSTEST" false) ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/Grumbel/sdl-jstest"; homepage = "https://github.com/Grumbel/sdl-jstest";
description = "Simple SDL joystick test application for the console"; description = "Simple SDL joystick test application for the console";
license = licenses.gpl3; license = licenses.gpl3;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ ]; maintainers = [ ];
mainProgram = "sdl2-jstest";
}; };
} }