summary refs log tree commit diff
path: root/pkgs/tools/misc/sdl-jstest/default.nix
blob: 3da62874c13cb511cb14bc056f098240d3ef5fe0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ fetchgit, stdenv, cmake, pkgconfig, SDL, SDL2, ncurses, docbook_xsl }:

stdenv.mkDerivation rec {
  name = "sdl-jstest-20150611";
  src = fetchgit {
    url = "https://github.com/Grumbel/sdl-jstest";
    rev = "684d168e5526da16760dcfc6d40da0103ab284cc";
    sha256 = "fc110a858edc2defc5cd8b176a5ce74666d3957d0268b861d0f9669362a1bd03";
  };

  buildInputs = [ SDL SDL2 ncurses ];
  nativeBuildInputs = [ cmake pkgconfig docbook_xsl ];
  
  meta = with stdenv.lib; {
    homepage = https://github.com/Grumbel/sdl-jstest;
    description = "Simple SDL joystick test application for the console";
    license = licenses.gpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ abbradar ];
  };
}