1a0302a145
GitOrigin-RevId: 311ceed827f531f88f46222920cd1ebb2c101f73
35 lines
668 B
Nix
35 lines
668 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, aiohttp
|
|
, jsonrpc-async
|
|
, jsonrpc-websocket
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pykodi";
|
|
version = "0.2.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1al2q4jiqxjnz0j2xvs2hqzrz6fm3hmda5zjnkp8gdvgchd1cmn7";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
jsonrpc-async
|
|
jsonrpc-websocket
|
|
];
|
|
|
|
# has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pykodi" ];
|
|
|
|
meta = with lib; {
|
|
description = "An async python interface for Kodi over JSON-RPC";
|
|
homepage = "https://github.com/OnFreund/PyKodi";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ sephalon ];
|
|
};
|
|
}
|