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