depot/third_party/nixpkgs/pkgs/development/python-modules/dtlssocket/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

38 lines
738 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, autoconf
, cython_0
, setuptools
}:
buildPythonPackage rec {
pname = "dtlssocket";
version = "0.1.16";
format = "pyproject";
src = fetchPypi {
pname = "DTLSSocket";
inherit version;
hash = "sha256-MLEIrkX84cAz4+9sLd1+dBgGKuN0Io46f6lpslQ2ajk=";
};
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 ];
};
}