10 buildPythonPackage rec {
15 disabled = pythonOlder "3.6";
18 inherit pname version;
19 hash = "sha256-M5O7UTn5zweR0gV1bOHjmltYWGr1sVPWo7WhmWEOnRc=";
22 postPatch = lib.optionalString (!pythonOlder "3.12") ''
23 substituteInPlace avro/test/test_tether_word_count.py \
24 --replace-fail 'distutils' 'setuptools._distutils'
27 propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
40 # Requires network access
41 "test_server_with_path"
42 # AssertionError: 'reader type: null not compatible with writer type: int'
43 "test_schema_compatibility_type_mismatch"
46 pythonImportsCheck = [
51 description = "Python serialization and RPC framework";
53 homepage = "https://github.com/apache/avro";
54 changelog = "https://github.com/apache/avro/releases/tag/release-${version}";
55 license = licenses.asl20;
56 maintainers = with maintainers; [ zimbatm ];