2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
2024-07-27 06:49:29 +00:00
|
|
|
fetchFromGitHub,
|
|
|
|
setuptools,
|
2024-06-05 15:53:02 +00:00
|
|
|
ecdsa,
|
2024-07-27 06:49:29 +00:00
|
|
|
hypothesis,
|
|
|
|
pythonAtLeast,
|
|
|
|
pytestCheckHook,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
buildPythonPackage {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "tlslite-ng";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.8.0b1-unstable-2024-06-24";
|
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tlsfuzzer";
|
|
|
|
repo = "tlslite-ng";
|
|
|
|
rev = "4d2c6b8fc8d14bb5c90c8360bdb6f617e8e38591";
|
|
|
|
hash = "sha256-VCQjxZIs4rzlFrIakXI7YeLz7Ws9WRf8zGPcSryO9Ko=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [ ecdsa ];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
hypothesis
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
# This file imports asyncore which is removed in 3.12
|
|
|
|
disabledTestPaths = lib.optionals (pythonAtLeast "3.12") [
|
|
|
|
"tlslite/integration/tlsasyncdispatchermixin.py"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-07-27 06:49:29 +00:00
|
|
|
changelog = "https://github.com/tlsfuzzer/tlslite-ng/releases/tag/v${version}";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Pure python implementation of SSL and TLS";
|
2024-07-27 06:49:29 +00:00
|
|
|
homepage = "https://github.com/tlsfuzzer/tlslite-ng";
|
|
|
|
license = licenses.lgpl21Only;
|
2023-04-12 12:48:02 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|