3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pykodi/default.nix

36 lines
667 B
Nix
Raw Normal View History

2021-04-09 23:37:12 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, jsonrpc-async
, jsonrpc-websocket
}:
2021-03-21 07:09:55 +00:00
buildPythonPackage rec {
pname = "pykodi";
2021-09-18 14:34:40 +01:00
version = "0.2.6";
2021-03-21 07:09:55 +00:00
src = fetchPypi {
inherit pname version;
2021-09-18 14:34:40 +01:00
sha256 = "sha256-SDp2S9HeqejRM3cf4x+5RLUQMPhjieQaXoubwf9Q/d4=";
2021-03-21 07:09:55 +00:00
};
2021-04-09 23:37:12 +01:00
propagatedBuildInputs = [
aiohttp
jsonrpc-async
jsonrpc-websocket
];
# has no tests
doCheck = false;
2021-03-21 07:09:55 +00:00
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 ];
};
}