nixpkgs/pkgs/development/python-modules/avro/default.nix

45 lines
829 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, typing-extensions
, pytestCheckHook
}:
2018-03-31 09:40:49 +00:00
buildPythonPackage rec {
pname = "avro";
2021-11-25 22:46:38 +00:00
version = "1.11.0";
format = "setuptools";
disabled = pythonOlder "3.6";
2018-03-31 09:40:49 +00:00
src = fetchPypi {
inherit pname version;
2021-11-25 22:46:38 +00:00
sha256 = "1206365cc30ad561493f735329857dd078533459cee4e928aec2505f341ce445";
2018-03-31 09:40:49 +00:00
};
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
typing-extensions
];
checkInputs = [
pytestCheckHook
];
disabledTests = [
# Requires network access
"test_server_with_path"
];
pythonImportsCheck = [
"avro"
];
2020-06-16 20:41:57 +00:00
meta = with lib; {
description = "Python serialization and RPC framework";
homepage = "https://github.com/apache/avro";
license = licenses.asl20;
maintainers = with maintainers; [ zimbatm ];
2018-03-31 09:40:49 +00:00
};
}