My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/avro/default.nix

44 lines
829 B

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, typing-extensions
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "avro";
version = "1.11.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1206365cc30ad561493f735329857dd078533459cee4e928aec2505f341ce445";
};
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
typing-extensions
];
checkInputs = [
pytestCheckHook
];
disabledTests = [
# Requires network access
"test_server_with_path"
];
pythonImportsCheck = [
"avro"
];
meta = with lib; {
description = "Python serialization and RPC framework";
homepage = "https://github.com/apache/avro";
license = licenses.asl20;
maintainers = with maintainers; [ zimbatm ];
};
}