9 drv = stdenv.mkDerivation rec {
10 pname = "controller-topology-project";
13 src = fetchFromGitHub {
15 repo = "controller-topology-project";
17 sha256 = "sha256-NRoI28LqXbsF6Icym98SWLHNl+WD8TsJ0P+ELf/JhyQ=";
21 # remove addons already included in the base kodi package
22 rm -r addons/game.controller.default
23 rm -r addons/game.controller.keyboard
24 rm -r addons/game.controller.mouse
25 rm -r addons/game.controller.snes
30 mkdir -p $out${addonDir}
31 cp -r addons/* $out${addonDir}
36 homepage = "https://github.com/kodi-game/controller-topology-project";
37 description = "Models how controllers connect to and map to each other for all gaming history";
38 license = with licenses; [ odbl ];
39 maintainers = teams.kodi.members;