python310Packages.pybravia: init at 0.2.2
This commit is contained in:
parent
e18192eac2
commit
e51736e982
44
pkgs/development/python-modules/pybravia/default.nix
Normal file
44
pkgs/development/python-modules/pybravia/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user