blob: 14b2063128385170ea68ef11c9735513d62c0052 (
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
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pynacl,
requests,
}:
buildPythonPackage rec {
pname = "pynuki";
version = "1.6.3";
pyproject = true;
src = fetchFromGitHub {
owner = "pschmitt";
repo = "pynuki";
tag = version;
hash = "sha256-PF5FmAuPcJXq8gQ8HyzdtL2HiiUjueT+LAS1lYRvrwM=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
pynacl
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pynuki" ];
meta = {
description = "Python bindings for nuki.io bridges";
homepage = "https://github.com/pschmitt/pynuki";
changelog = "https://github.com/pschmitt/pynuki/releases/tag/${version}";
license = with lib.licenses; [ gpl3Only ];
maintainers = with lib.maintainers; [ fab ];
};
}
|