Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 33 lines 753 B view raw
1{ 2 lib, 3 buildKodiAddon, 4 fetchFromGitHub, 5 vfs-libarchive, 6}: 7buildKodiAddon rec { 8 pname = "archive_tool"; 9 namespace = "script.module.archive_tool"; 10 version = "2.0.3"; 11 12 src = fetchFromGitHub { 13 owner = "zach-morris"; 14 repo = "script.module.archive_tool"; 15 rev = version; 16 sha256 = "0hbkyk59xxfjv6vzfjplahmqxi5564qjlwyq6k8ijy6jjcwnd3p7"; 17 }; 18 19 propagatedBuildInputs = [ 20 vfs-libarchive 21 ]; 22 23 passthru = { 24 pythonPath = "lib"; 25 }; 26 27 meta = with lib; { 28 homepage = "https://github.com/zach-morris/script.module.archive_tool"; 29 description = "Set of common python functions to work with the Kodi archive virtual file system (vfs) binary addons"; 30 license = licenses.gpl3Plus; 31 teams = [ teams.kodi ]; 32 }; 33}