at 23.11-beta 38 lines 1.2 kB view raw
1{ lib, stdenv, fetchurl, pkg-config, SDL, SDL2 }: 2 3stdenv.mkDerivation rec { 4 pname = "linuxconsoletools"; 5 version = "1.8.1"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/linuxconsole/${pname}-${version}.tar.bz2"; 9 sha256 = "sha256-TaKXRceCt9sY9fN8Sed78WMSHdN2Hi/HY2+gy/NcJFY="; 10 }; 11 12 nativeBuildInputs = [ pkg-config ]; 13 buildInputs = [ SDL SDL2 ]; 14 15 makeFlags = [ "DESTDIR=$(out)"]; 16 17 installFlags = [ "PREFIX=\"\"" ]; 18 19 meta = with lib; { 20 homepage = "https://sourceforge.net/projects/linuxconsole/"; 21 description = "A set of tools for joysticks and serial peripherals"; 22 license = licenses.gpl2Plus; 23 platforms = platforms.linux; 24 maintainers = with maintainers; [ pSub ebzzry ]; 25 26 longDescription = '' 27 The included tools are: 28 29 ffcfstress(1) - force-feedback stress test 30 ffmvforce(1) - force-feedback orientation test 31 ffset(1) - force-feedback configuration tool 32 fftest(1) - general force-feedback test 33 jstest(1) - joystick test 34 jscal(1) - joystick calibration tool 35 inputattach(1) - connects legacy serial devices to the input layer 36 ''; 37 }; 38}