Files
nixpkgs/pkgs/development/python-modules/dtlssocket/default.nix
T
Martin Weinelt 528354e66c python312Packages.cython: 0.29.36 -> 3.0.9
Folds the cython_3 attribute into the primary cython attribute and
migrates all packages from the versioned attribute.

The old version will be provided through the cython_0 attribute in an
effort to phase it out.
2024-03-27 18:35:05 +01:00

39 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 ];
};
}