depot/third_party/nixpkgs/pkgs/development/python-modules/dtlssocket/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

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