1 { stdenv, lib, fetchFromGitLab, cmake, pkg-config, gtkmm3, libsigcxx, xorg }:
3 stdenv.mkDerivation rec {
5 version = "2018-07-10";
7 src = fetchFromGitLab {
10 rev = "62f6e2d7d44620e503149510c428df9e004c9f3b";
11 sha256 = "0icbbhrj5aqljhiavdy3hic60vp0zzfzyg0d6vpjaqkbzd5pv9d8";
14 nativeBuildInputs = [ cmake pkg-config ];
15 buildInputs = [ gtkmm3 libsigcxx xorg.libX11 ];
18 description = "Simple joystick tester based on Gtk+";
20 It provides you with a list of attached joysticks, a way to display which
21 buttons and axis are pressed, a way to remap axis and buttons and a way
22 to calibrate your joystick.
24 homepage = "https://jstest-gtk.gitlab.io/";
25 license = licenses.gpl3Plus;
26 maintainers = with maintainers; [ wucke13 ];
27 platforms = platforms.linux;
28 mainProgram = "jstest-gtk";