1{ lib 2, buildPythonPackage 3, fetchPypi 4, autoconf 5, cython 6, setuptools 7}: 8 9buildPythonPackage rec { 10 pname = "dtlssocket"; 11 version = "0.1.16"; 12 13 format = "pyproject"; 14 15 src = fetchPypi { 16 pname = "DTLSSocket"; 17 inherit version; 18 hash = "sha256-MLEIrkX84cAz4+9sLd1+dBgGKuN0Io46f6lpslQ2ajk="; 19 }; 20 21 nativeBuildInputs = [ 22 autoconf 23 cython 24 setuptools 25 ]; 26 27 # no tests on PyPI, no tags on GitLab 28 doCheck = false; 29 30 pythonImportsCheck = [ "DTLSSocket" ]; 31 32 meta = with lib; { 33 description = "Cython wrapper for tinydtls with a Socket like interface"; 34 homepage = "https://git.fslab.de/jkonra2m/tinydtls-cython"; 35 license = licenses.epl10; 36 maintainers = with maintainers; [ dotlambda ]; 37 }; 38}