depot/third_party/nixpkgs/pkgs/development/python-modules/panasonic-viera/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

39 lines
754 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
aiohttp,
pycryptodome,
xmltodict,
}:
buildPythonPackage rec {
pname = "panasonic-viera";
version = "0.4.0";
format = "setuptools";
src = fetchPypi {
pname = "panasonic_viera";
inherit version;
sha256 = "baad2db7958ddbc7288d0f1c50a9eeddd8b83f3d30ad14ac3f6c51fe953e0eb6";
};
propagatedBuildInputs = [
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 ];
};
}