depot/third_party/nixpkgs/pkgs/development/python-modules/panasonic-viera/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

41 lines
774 B
Nix

{
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 ];
};
}