depot/third_party/nixpkgs/pkgs/development/python-modules/dtlssocket/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

39 lines
746 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
autoconf,
cython_0,
setuptools,
}:
buildPythonPackage rec {
pname = "dtlssocket";
version = "0.1.18";
format = "pyproject";
src = fetchPypi {
pname = "DTLSSocket";
inherit version;
hash = "sha256-TnS2LYe6CeAlezc83bGpRqOpQbPJMQHzJn6PnXon4FI=";
};
nativeBuildInputs = [
autoconf
cython_0
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 ];
};
}