Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 35 lines 668 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, aiohttp 5, jsonrpc-async 6, jsonrpc-websocket 7}: 8 9buildPythonPackage rec { 10 pname = "pykodi"; 11 version = "0.2.5"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "1al2q4jiqxjnz0j2xvs2hqzrz6fm3hmda5zjnkp8gdvgchd1cmn7"; 16 }; 17 18 propagatedBuildInputs = [ 19 aiohttp 20 jsonrpc-async 21 jsonrpc-websocket 22 ]; 23 24 # has no tests 25 doCheck = false; 26 27 pythonImportsCheck = [ "pykodi" ]; 28 29 meta = with lib; { 30 description = "An async python interface for Kodi over JSON-RPC"; 31 homepage = "https://github.com/OnFreund/PyKodi"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ sephalon ]; 34 }; 35}