Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / asyncsleepiq / default.nix
blob25969661bf15dc845cf255d03029aada5a2d48a3
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchPypi
5 , pythonOlder
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "asyncsleepiq";
11   version = "1.5.3";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-TDHFKLifNmmAVvD5DjSopEXFbR+KPMIdSA+rLAKrfpI=";
19   };
21   nativeBuildInputs = [
22     setuptools
23   ];
25   propagatedBuildInputs = [
26     aiohttp
27   ];
29   # upstream has no tests
30   doCheck = false;
32   pythonImportsCheck = [
33     "asyncsleepiq"
34   ];
36   meta = with lib; {
37     description = "Async interface to SleepIQ API";
38     homepage = "https://github.com/kbickar/asyncsleepiq";
39     changelog = "https://github.com/kbickar/asyncsleepiq/releases/tag/v${version}";
40     license = licenses.mit;
41     maintainers = with maintainers; [ dotlambda ];
42   };