python312Packages.aiocoap: format with nixfmt

+43 -50
+43 -50
pkgs/development/python-modules/aiocoap/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , cbor-diag 4 - , cbor2 5 - , cryptography 6 - , dtlssocket 7 - , fetchFromGitHub 8 - , filelock 9 - , ge25519 10 - , pygments 11 - , pytestCheckHook 12 - , pythonAtLeast 13 - , pythonOlder 14 - , setuptools 15 - , termcolor 16 - , websockets 17 }: 18 19 buildPythonPackage rec { ··· 30 hash = "sha256-jBRxorHr5/CgAR6WVXBUycZpJ6n1DYVFQk6kqVv8D1Q="; 31 }; 32 33 - build-system = [ 34 - setuptools 35 - ]; 36 37 passthru.optional-dependencies = { 38 oscore = [ ··· 41 filelock 42 ge25519 43 ]; 44 - tinydtls = [ 45 - dtlssocket 46 - ]; 47 - ws = [ 48 - websockets 49 - ]; 50 prettyprint = [ 51 termcolor 52 cbor2 ··· 55 ]; 56 }; 57 58 - nativeCheckInputs = [ 59 - pytestCheckHook 60 - ]; 61 62 disabledTestPaths = [ 63 # Don't test the plugins ··· 66 "tests/test_oscore_plugtest.py" 67 ]; 68 69 - disabledTests = [ 70 - # Communication is not properly mocked 71 - "test_uri_parser" 72 - ] ++ lib.optionals (pythonAtLeast "3.12") [ 73 - # https://github.com/chrysn/aiocoap/issues/339 74 - "TestServerTCP::test_big_resource" 75 - "TestServerTCP::test_empty_accept" 76 - "TestServerTCP::test_error_resources" 77 - "TestServerTCP::test_fast_resource" 78 - "TestServerTCP::test_js_accept" 79 - "TestServerTCP::test_manualbig_resource" 80 - "TestServerTCP::test_nonexisting_resource" 81 - "TestServerTCP::test_replacing_resource" 82 - "TestServerTCP::test_root_resource" 83 - "TestServerTCP::test_slow_resource" 84 - "TestServerTCP::test_slowbig_resource" 85 - "TestServerTCP::test_spurious_resource" 86 - "TestServerTCP::test_unacceptable_accept" 87 - ]; 88 89 - pythonImportsCheck = [ 90 - "aiocoap" 91 - ]; 92 93 meta = with lib; { 94 description = "Python CoAP library";
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + cbor-diag, 5 + cbor2, 6 + cryptography, 7 + dtlssocket, 8 + fetchFromGitHub, 9 + filelock, 10 + ge25519, 11 + pygments, 12 + pytestCheckHook, 13 + pythonAtLeast, 14 + pythonOlder, 15 + setuptools, 16 + termcolor, 17 + websockets, 18 }: 19 20 buildPythonPackage rec { ··· 31 hash = "sha256-jBRxorHr5/CgAR6WVXBUycZpJ6n1DYVFQk6kqVv8D1Q="; 32 }; 33 34 + build-system = [ setuptools ]; 35 36 passthru.optional-dependencies = { 37 oscore = [ ··· 40 filelock 41 ge25519 42 ]; 43 + tinydtls = [ dtlssocket ]; 44 + ws = [ websockets ]; 45 prettyprint = [ 46 termcolor 47 cbor2 ··· 50 ]; 51 }; 52 53 + nativeCheckInputs = [ pytestCheckHook ]; 54 55 disabledTestPaths = [ 56 # Don't test the plugins ··· 59 "tests/test_oscore_plugtest.py" 60 ]; 61 62 + disabledTests = 63 + [ 64 + # Communication is not properly mocked 65 + "test_uri_parser" 66 + ] 67 + ++ lib.optionals (pythonAtLeast "3.12") [ 68 + # https://github.com/chrysn/aiocoap/issues/339 69 + "TestServerTCP::test_big_resource" 70 + "TestServerTCP::test_empty_accept" 71 + "TestServerTCP::test_error_resources" 72 + "TestServerTCP::test_fast_resource" 73 + "TestServerTCP::test_js_accept" 74 + "TestServerTCP::test_manualbig_resource" 75 + "TestServerTCP::test_nonexisting_resource" 76 + "TestServerTCP::test_replacing_resource" 77 + "TestServerTCP::test_root_resource" 78 + "TestServerTCP::test_slow_resource" 79 + "TestServerTCP::test_slowbig_resource" 80 + "TestServerTCP::test_spurious_resource" 81 + "TestServerTCP::test_unacceptable_accept" 82 + ]; 83 84 + pythonImportsCheck = [ "aiocoap" ]; 85 86 meta = with lib; { 87 description = "Python CoAP library";