blob: 28c7117d680a737dd125c0aa529f2ca7a8b5eae7 (
plain) (
blame)
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
42
43
44
45
46
47
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pynacl
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "pynuki";
version = "1.6.3";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "pschmitt";
repo = "pynuki";
rev = "refs/tags/${version}";
hash = "sha256-PF5FmAuPcJXq8gQ8HyzdtL2HiiUjueT+LAS1lYRvrwM=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
pynacl
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"pynuki"
];
meta = with lib; {
description = "Python bindings for nuki.io bridges";
homepage = "https://github.com/pschmitt/pynuki";
changelog = "https://github.com/pschmitt/pynuki/releases/tag/${version}";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}
|