nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 933 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 setuptools, 5 fetchPypi, 6 pytest7CheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "avro"; 11 version = "1.12.1"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-xbjdLdTBCBbw3BJ8wpz9Q7XkBc9+aEDolGCgJL89CY0="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 nativeCheckInputs = [ pytest7CheckHook ]; 22 23 disabledTests = [ 24 # Requires network access 25 "test_server_with_path" 26 # AssertionError: 'reader type: null not compatible with writer type: int' 27 "test_schema_compatibility_type_mismatch" 28 ]; 29 30 pythonImportsCheck = [ "avro" ]; 31 32 meta = { 33 description = "Python serialization and RPC framework"; 34 homepage = "https://github.com/apache/avro"; 35 changelog = "https://github.com/apache/avro/releases/tag/release-${version}"; 36 license = lib.licenses.asl20; 37 maintainers = with lib.maintainers; [ zimbatm ]; 38 mainProgram = "avro"; 39 }; 40}