summary refs log tree commit diff
path: root/pkgs/tools/misc/sdl-jstest
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2015-06-12 02:01:48 +0300
committerNikolay Amiantov <ab@fmap.me>2015-06-12 02:03:29 +0300
commit4e49773d266bdb6fb60030c9f2d46c85402a673d (patch)
tree89b6c9e163ad1879409ce5c0235ee511cc9cb088 /pkgs/tools/misc/sdl-jstest
parent2e5f4a0152f7ed46b8d9fbc2045ff934d3a41ff6 (diff)
downloadnixlib-4e49773d266bdb6fb60030c9f2d46c85402a673d.tar
nixlib-4e49773d266bdb6fb60030c9f2d46c85402a673d.tar.gz
nixlib-4e49773d266bdb6fb60030c9f2d46c85402a673d.tar.bz2
nixlib-4e49773d266bdb6fb60030c9f2d46c85402a673d.tar.lz
nixlib-4e49773d266bdb6fb60030c9f2d46c85402a673d.tar.xz
nixlib-4e49773d266bdb6fb60030c9f2d46c85402a673d.tar.zst
nixlib-4e49773d266bdb6fb60030c9f2d46c85402a673d.zip
sdl-jstest: add package
Diffstat (limited to 'pkgs/tools/misc/sdl-jstest')
-rw-r--r--pkgs/tools/misc/sdl-jstest/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/tools/misc/sdl-jstest/default.nix b/pkgs/tools/misc/sdl-jstest/default.nix
new file mode 100644
index 000000000000..3da62874c13c
--- /dev/null
+++ b/pkgs/tools/misc/sdl-jstest/default.nix
@@ -0,0 +1,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 ];
+  };
+}