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