Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 40 lines 823 B view raw
1{ 2 lib, 3 rel, 4 buildKodiAddon, 5 fetchzip, 6 addonUpdateScript, 7 requests, 8 six, 9 arrow, 10}: 11buildKodiAddon rec { 12 pname = "trakt-module"; 13 namespace = "script.module.trakt"; 14 version = "4.4.0+matrix.1"; 15 16 src = fetchzip { 17 url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip"; 18 sha256 = "sha256-6JIAQwot5VZ36gvQym88BD/e/mSyS8WO8VqkPn2GcqY="; 19 }; 20 21 propagatedBuildInputs = [ 22 requests 23 six 24 arrow 25 ]; 26 27 passthru = { 28 pythonPath = "lib"; 29 updateScript = addonUpdateScript { 30 attrPath = "kodi.packages.trakt-module"; 31 }; 32 }; 33 34 meta = with lib; { 35 homepage = "https://github.com/Razzeee/script.module.trakt"; 36 description = "Python trakt.py library packed for Kodi"; 37 license = licenses.mit; 38 teams = [ teams.kodi ]; 39 }; 40}