Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
812 B
Nix
44 lines
812 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 ];
|
|
|
|
pythonRelaxDeps = [ "xmltodict" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|