blob: 720433461cf1868c34f40d790cd5442d06424943 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
isPy27,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "piccata";
version = "2.0.3";
format = "setuptools";
disabled = isPy27;
src = fetchFromGitHub {
owner = "NordicSemiconductor";
repo = "piccata";
tag = version;
hash = "sha256-wdfujQ8QYHZGFsnI0fQRSEI6sOCsDXj2FX0ZII5zmtA=";
};
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# No communication possible in the sandbox
"test_client_server_communication"
];
pythonImportsCheck = [ "piccata" ];
meta = {
description = "Simple CoAP (RFC7252) toolkit";
homepage = "https://github.com/NordicSemiconductor/piccata";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|