2022-03-05 16:20:37 +00:00
|
|
|
{ lib
|
2022-03-10 19:12:11 +00:00
|
|
|
, aiohttp
|
2022-03-05 16:20:37 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-03-10 19:12:11 +00:00
|
|
|
, pythonOlder
|
2022-03-05 16:20:37 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "asyncsleepiq";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.3.7";
|
2022-03-05 16:20:37 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2022-03-10 19:12:11 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-nKXZXOpwVN8Xe1vwwPGPucvyffiIQ8I4D+0A3qGco5w=";
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
];
|
|
|
|
|
|
|
|
# upstream has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2022-03-10 19:12:11 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"asyncsleepiq"
|
|
|
|
];
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Async interface to SleepIQ API";
|
|
|
|
homepage = "https://github.com/kbickar/asyncsleepiq";
|
2023-04-29 16:46:19 +00:00
|
|
|
changelog = "https://github.com/kbickar/asyncsleepiq/releases/tag/v${version}";
|
2022-03-05 16:20:37 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|