2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
numpy,
|
|
|
|
pythonOlder,
|
|
|
|
sqlitedict,
|
|
|
|
websockets,
|
2021-03-09 03:18:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiopylgtv";
|
2021-07-14 22:03:04 +00:00
|
|
|
version = "0.4.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-03-09 03:18:52 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bendavid";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-NkWJGy5QUrhpbARoscrXy/ilCjAz01YxeVTH0I+IjNM=";
|
2021-03-09 03:18:52 +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-04-21 15:54:59 +00:00
|
|
|
mainProgram = "aiopylgtvcommand";
|
2021-03-09 03:18:52 +00:00
|
|
|
homepage = "https://github.com/bendavid/aiopylgtv";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|