blob: 5713d52fce0ec8c6acb274c2a9deac29bb114696 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{
lib,
aiohttp,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "asyncsleepiq";
version = "1.6.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Fhs1vsAmuCKpkNr5paoY4JGoS8LQzkiZn+m5JWq6Hc0=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ aiohttp ];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "asyncsleepiq" ];
meta = {
description = "Async interface to SleepIQ API";
homepage = "https://github.com/kbickar/asyncsleepiq";
changelog = "https://github.com/kbickar/asyncsleepiq/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|