pythonPackages.dtlssocket: init at 0.1.12

This commit is contained in:
Robert Schütz
2021-06-26 14:34:56 +02:00
parent 4d420f27eb
commit 0706d3da4e
2 changed files with 36 additions and 0 deletions
@@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, autoconf
, cython
}:
buildPythonPackage rec {
pname = "dtlssocket";
version = "0.1.12";
src = fetchPypi {
pname = "DTLSSocket";
inherit version;
sha256 = "909a8f52f1890ec9e92fd46ef609daa8875c2a1c262c0b61200e73c6c2dd5099";
};
nativeBuildInputs = [
autoconf
cython
];
# 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 ];
};
}