blob: 283633f6d04ff29bd5f49ee9e06ff0425a007699 (
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
|
{
buildPythonPackage,
cachetools,
fetchFromGitHub,
isPy27,
lib,
}:
buildPythonPackage rec {
pname = "coapthon3";
version = "1.0.2";
format = "setuptools";
disabled = isPy27;
src = fetchFromGitHub {
owner = "Tanganelli";
repo = "CoAPthon3";
rev = version;
hash = "sha256-9QApoPUu3XFZY/lgjAsf5r2StFiRtUd1UXWDrzYUh6w=";
};
propagatedBuildInputs = [ cachetools ];
# tests take in the order of 10 minutes to execute and sometimes hang forever on tear-down
doCheck = false;
pythonImportsCheck = [ "coapthon" ];
meta = {
inherit (src.meta) homepage;
description = "Python3 library to the CoAP protocol compliant with the RFC";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ urbas ];
};
}
|