9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
38 lines
734 B
Nix
38 lines
734 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, autoconf
|
|
, cython
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dtlssocket";
|
|
version = "0.1.15";
|
|
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
pname = "DTLSSocket";
|
|
inherit version;
|
|
hash = "sha256-RWscUxJsmLkI2GPjnpS1oJVPsJ+xbqPAKk4Q1G7ISu4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoconf
|
|
cython
|
|
setuptools
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|