depot/third_party/nixpkgs/pkgs/development/python-modules/panasonic-viera/default.nix

42 lines
774 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
aiohttp,
pycryptodome,
xmltodict,
}:
buildPythonPackage rec {
pname = "panasonic-viera";
version = "0.4.2";
pyproject = true;
src = fetchPypi {
pname = "panasonic_viera";
inherit version;
hash = "sha256-gcFAFwEdCqiC1yHIA2B/gzmwvRwMC9fDxkgCbzIOpjM=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
pycryptodome
xmltodict
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "panasonic_viera" ];
meta = {
description = "Library to control Panasonic Viera TVs";
homepage = "https://github.com/florianholzapfel/panasonic-viera";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}