depot/third_party/nixpkgs/pkgs/development/python-modules/asyncsleepiq/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

43 lines
813 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "asyncsleepiq";
version = "1.5.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-QwVUYYC25Lx3nfQ8PKCO2mFMT9ol6mvwojVVATwW4kI=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [
"asyncsleepiq"
];
meta = with lib; {
description = "Async interface to SleepIQ API";
homepage = "https://github.com/kbickar/asyncsleepiq";
changelog = "https://github.com/kbickar/asyncsleepiq/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}