Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 41 lines 879 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 dpkt, 7 pyyaml, 8 pytestCheckHook, 9}: 10buildPythonPackage { 11 pname = "ts1-signatures"; 12 version = "0-unstable-2024-08-10"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "yifeikong"; 17 repo = "th1"; 18 rev = "efa682bd37c668ae00d2225deb753e01f6cd1406"; 19 hash = "sha256-fz5EFPO5UPPbFnqe4wE1y2lIROPByse9awyBa49o8ZE="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 dpkt 26 pyyaml 27 ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 disabledTests = [ 32 "test_nghttpd_log_parsing" # Attempts to load things from logs/ which it cannot find for some reason. 33 ]; 34 35 meta = { 36 description = "TLS and HTTP signature and fingerprint library"; 37 homepage = "https://github.com/yifeikong/th1"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ ggg ]; 40 }; 41}