depot/third_party/nixpkgs/pkgs/development/python-modules/panasonic-viera/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

38 lines
746 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 ];
};
}