blob: eb61eb10fded874444fdc6cbbff26c000639178e (
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
36
37
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "aionanoleaf2";
version = "1.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "loebi-ch";
repo = "aionanoleaf2";
tag = "v${finalAttrs.version}";
hash = "sha256-Auh69JY07nnZKRUGPkaqo4DjZNeNkY8FIlsjch3JLu4=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "aionanoleaf2" ];
meta = {
description = "Async Python package for the Nanoleaf API";
homepage = "https://github.com/loebi-ch/aionanoleaf2";
changelog = "https://github.com/loebi-ch/aionanoleaf2/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.lgpl3Plus;
maintainers = [ lib.maintainers.jamiemagee ];
};
})
|