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