blob: 8fa7e1a7e255a2dbae22853c28ccf80339e336dd (
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
42
43
44
|
{
lib,
buildPythonPackage,
fetchPypi,
autoconf,
automake,
cython,
pkg-config,
setuptools,
}:
buildPythonPackage rec {
pname = "dtlssocket";
version = "0.2.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-8Gy+Mt+FYtu8y+J0qvJ9J3PoSSqGxBwzSzoKcKUAN88=";
};
build-system = [
cython
setuptools
];
nativeBuildInputs = [
autoconf
automake
pkg-config
];
# no tests on PyPI, no tags on GitLab
doCheck = false;
pythonImportsCheck = [ "DTLSSocket" ];
meta = {
description = "Cython wrapper for tinydtls with a Socket like interface";
homepage = "https://git.fslab.de/jkonra2m/tinydtls-cython";
license = lib.licenses.epl10;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|