about summary refs log tree commit diff
path: root/pkgs/applications/video/kodi-packages/steam-controller/default.nix
blob: 5eee0eff9415a41aea42bdb1ee4192871e9322f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildKodiBinaryAddon, fetchFromGitHub, libusb1 }:
buildKodiBinaryAddon rec {
  pname = namespace;
  namespace = "peripheral.steamcontroller";
  version = "0.11.0";

  src = fetchFromGitHub {
    owner = "kodi-game";
    repo = namespace;
    rev = "f68140ca44f163a03d3a625d1f2005a6edef96cb";
    sha256 = "09lm8i119xlsxxk0c64rnp8iw0crr90v7m8iwi9r31qdmxrdxpmg";
  };

  extraBuildInputs = [ libusb1 ];

  meta = with lib; {
    description = "Binary addon for steam controller.";
    platforms = platforms.all;
    maintainers = with maintainers; [ edwtjo ];
  };

}