Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 45 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 ecdsa, 7 hypothesis, 8 pythonAtLeast, 9 pytestCheckHook, 10}: 11 12buildPythonPackage { 13 pname = "tlslite-ng"; 14 version = "0.8.0b1-unstable-2024-06-24"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "tlsfuzzer"; 19 repo = "tlslite-ng"; 20 rev = "4d2c6b8fc8d14bb5c90c8360bdb6f617e8e38591"; 21 hash = "sha256-VCQjxZIs4rzlFrIakXI7YeLz7Ws9WRf8zGPcSryO9Ko="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ ecdsa ]; 27 28 nativeCheckInputs = [ 29 hypothesis 30 pytestCheckHook 31 ]; 32 33 # This file imports asyncore which is removed in 3.12 34 disabledTestPaths = lib.optionals (pythonAtLeast "3.12") [ 35 "tlslite/integration/tlsasyncdispatchermixin.py" 36 ]; 37 38 meta = with lib; { 39 changelog = "https://github.com/tlsfuzzer/tlslite-ng/releases/tag/v${version}"; 40 description = "Pure python implementation of SSL and TLS"; 41 homepage = "https://github.com/tlsfuzzer/tlslite-ng"; 42 license = licenses.lgpl21Only; 43 maintainers = [ ]; 44 }; 45}