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