depot/third_party/nixpkgs/pkgs/development/python-modules/dtlssocket/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

44 lines
795 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
autoconf,
automake,
cython,
pkg-config,
setuptools,
}:
buildPythonPackage rec {
pname = "dtlssocket";
version = "0.2.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-TnbXFXJuDEbcCeNdqbZxewY8I4mwbBcj3sw7o4tzh/Q=";
};
build-system = [
cython
setuptools
];
nativeBuildInputs = [
autoconf
automake
pkg-config
];
# 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 ];
};
}