about summary refs log tree commit diff
path: root/pkgs/applications/video/kodi/plugins.nix
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2017-06-05 17:12:57 +0200
committerEdward Tjörnhammar <ed@cflags.cc>2017-06-05 17:17:57 +0200
commitfe0b858113728f3057464d98bd12ade3f1b71526 (patch)
treedbb94ab429494ebeb084338f88cc058cd7f3d118 /pkgs/applications/video/kodi/plugins.nix
parent4f410bfc8dfd51954000fce4a975d457b4915fea (diff)
downloadnixlib-fe0b858113728f3057464d98bd12ade3f1b71526.tar
nixlib-fe0b858113728f3057464d98bd12ade3f1b71526.tar.gz
nixlib-fe0b858113728f3057464d98bd12ade3f1b71526.tar.bz2
nixlib-fe0b858113728f3057464d98bd12ade3f1b71526.tar.lz
nixlib-fe0b858113728f3057464d98bd12ade3f1b71526.tar.xz
nixlib-fe0b858113728f3057464d98bd12ade3f1b71526.tar.zst
nixlib-fe0b858113728f3057464d98bd12ade3f1b71526.zip
kodiPlugins.joystick: init at 1.3.6
Diffstat (limited to 'pkgs/applications/video/kodi/plugins.nix')
-rw-r--r--pkgs/applications/video/kodi/plugins.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/applications/video/kodi/plugins.nix b/pkgs/applications/video/kodi/plugins.nix
index de261d69341b..0fb7be3b8776 100644
--- a/pkgs/applications/video/kodi/plugins.nix
+++ b/pkgs/applications/video/kodi/plugins.nix
@@ -147,6 +147,28 @@ rec {
     };
   };
 
+  joystick = mkKodiABIPlugin rec {
+    namespace = "peripheral.joystick";
+    version = "1.3.6";
+    plugin = namespace;
+
+    src = fetchFromGitHub {
+      owner = "kodi-game";
+      repo = namespace;
+      rev = "5b480ccdd4a87f2ca3283a7b8d1bd69a114af0db";
+      sha256 = "1zf5zwghx96bqk7bx53qra27lfbgfdi1dsk4s3hwixr8ii72cqpp";
+    };
+
+    meta = with stdenv.lib; {
+      description = "Binary addon for raw joystick input.";
+      platforms = platforms.all;
+      maintainers = with maintainers; [ edwtjo ];
+    };
+
+    extraBuildInputs = [ libusb pcre-cpp ];
+
+  };
+
   svtplay = mkKodiPlugin rec {
 
     plugin = "svtplay";