blob: 0c22beb5cffe7d7df0ecab8a686e5106305296ba (
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,
buildPythonPackage,
fetchPypi,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "pynanoleaf";
version = "0.1.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-MqCDdZxPmeAZ4AE2cEh4Qfjt+AfHoHdCqXH6GHBwcqc=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# pynanoleaf does not contain tests
doCheck = false;
pythonImportsCheck = [ "pynanoleaf" ];
meta = {
description = "Python3 wrapper for the Nanoleaf API, capable of controlling both Nanoleaf Aurora and Nanoleaf Canvas";
homepage = "https://github.com/Oro/pynanoleaf";
changelog = "https://github.com/Oro/pynanoleaf/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ oro ];
};
}
|