Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pykodi: init at 0.2.3 #117616

Merged
merged 2 commits into from Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 22 additions & 0 deletions pkgs/development/python-modules/pykodi/default.nix
@@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchPypi, aiohttp, jsonrpc-async, jsonrpc-websocket }:

buildPythonPackage rec {
pname = "pykodi";
version = "0.2.3";

src = fetchPypi {
inherit pname version;
sha256 = "099xyn5aql5mdim6kh4hwx0fg1a3bx73qdvwr48nz23cljmmk1m8";
};

propagatedBuildInputs = [ aiohttp jsonrpc-async jsonrpc-websocket ];

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 ];
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Expand Up @@ -424,7 +424,7 @@
"kiwi" = ps: with ps; [ ]; # missing inputs: kiwiki-client
"kmtronic" = ps: with ps; [ pykmtronic ];
"knx" = ps: with ps; [ xknx ];
"kodi" = ps: with ps; [ ]; # missing inputs: pykodi
"kodi" = ps: with ps; [ pykodi ];
"konnected" = ps: with ps; [ aiohttp-cors ]; # missing inputs: konnected
"kulersky" = ps: with ps; [ ]; # missing inputs: pykulersky
"kwb" = ps: with ps; [ ]; # missing inputs: pykwb
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -5852,6 +5852,8 @@ in {

pykmtronic = callPackage ../development/python-modules/pykmtronic { };

pykodi = callPackage ../development/python-modules/pykodi { };

pykwalify = callPackage ../development/python-modules/pykwalify { };

pylacrosse = callPackage ../development/python-modules/pylacrosse { };
Expand Down