3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.pybravia: init at 0.2.2

This commit is contained in:
Fabian Affolter 2022-09-24 23:55:06 +02:00
parent e18192eac2
commit e51736e982
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "pybravia";
version = "0.2.2";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Drafteed";
repo = pname;
rev = "v${version}";
hash = "sha256-jKDZ5MzWRgXYmtnYDyi232pKJX+oRGLmSsdlBiN5veQ=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"pybravia"
];
meta = with lib; {
description = "Library for remote control of Sony Bravia TVs 2013 and newer";
homepage = "https://github.com/Drafteed/pybravia";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -7467,6 +7467,8 @@ in {
pybotvac = callPackage ../development/python-modules/pybotvac { };
pybravia = callPackage ../development/python-modules/pybravia { };
pybrowserid = callPackage ../development/python-modules/pybrowserid { };
pybtex = callPackage ../development/python-modules/pybtex { };