mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
38 lines
695 B
Nix
38 lines
695 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
aiohttp,
|
|
jsonrpc-async,
|
|
jsonrpc-websocket,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pykodi";
|
|
version = "0.2.7";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-2fFkbZZ3RXMolaaGpkvvVfSYtNNB1bTsoRCin3GnVKM=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
jsonrpc-async
|
|
jsonrpc-websocket
|
|
];
|
|
|
|
# has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pykodi" ];
|
|
|
|
meta = with lib; {
|
|
description = "Async python interface for Kodi over JSON-RPC";
|
|
homepage = "https://github.com/OnFreund/PyKodi";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ sephalon ];
|
|
};
|
|
}
|