nixpkgs/pkgs/development/python-modules/pykodi/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
698 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-10-25 05:10:03 +01:00
version = "0.2.7";
format = "setuptools";
2021-03-21 07:09:55 +00:00
src = fetchPypi {
inherit pname version;
2021-10-25 05:10:03 +01:00
sha256 = "sha256-2fFkbZZ3RXMolaaGpkvvVfSYtNNB1bTsoRCin3GnVKM=";
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
2021-10-25 05:10:03 +01:00
pythonImportsCheck = [
"pykodi"
];
2021-03-21 07:09:55 +00:00
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 ];
};
}