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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
822 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";
version = "1.11.1";
format = "setuptools";
disabled = pythonOlder "3.6";
2018-03-31 09:40:49 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-8SNiPsxkjQ4gzhT47YUWIUDBPMSxCIZdGyUp+/oGwAg=";
2018-03-31 09:40:49 +00:00
};
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
typing-extensions
];
nativeCheckInputs = [
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
};
}