2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
autoconf,
|
|
|
|
cython_0,
|
|
|
|
setuptools,
|
2021-06-28 23:13:55 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dtlssocket";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.1.19";
|
2023-03-08 16:32:21 +00:00
|
|
|
|
|
|
|
format = "pyproject";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "DTLSSocket";
|
|
|
|
inherit version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-hKwWkQ/K+FTgn2Gs8Pynz/ihuVeO8grqekPPbGK5eDI=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoconf
|
2024-04-21 15:54:59 +00:00
|
|
|
cython_0
|
2023-03-08 16:32:21 +00:00
|
|
|
setuptools
|
2021-06-28 23:13:55 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# no tests on PyPI, no tags on GitLab
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "DTLSSocket" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Cython wrapper for tinydtls with a Socket like interface";
|
|
|
|
homepage = "https://git.fslab.de/jkonra2m/tinydtls-cython";
|
|
|
|
license = licenses.epl10;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|