2021-03-01 15:23:32 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
numpy,
|
|
|
|
pythonOlder,
|
|
|
|
sqlitedict,
|
|
|
|
websockets,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiopylgtv";
|
2021-07-02 12:45:46 +00:00
|
|
|
version = "0.4.1";
|
2023-12-07 03:53:02 +00:00
|
|
|
format = "setuptools";
|
2021-03-01 15:23:32 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bendavid";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-03-03 00:48:06 +00:00
|
|
|
hash = "sha256-NkWJGy5QUrhpbARoscrXy/ilCjAz01YxeVTH0I+IjNM=";
|
2021-03-01 15:23:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
sqlitedict
|
|
|
|
websockets
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aiopylgtv" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library to control webOS based LG TV units";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "aiopylgtvcommand";
|
2021-03-01 15:23:32 +00:00
|
|
|
homepage = "https://github.com/bendavid/aiopylgtv";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|