diff options
Diffstat (limited to 'pkgs/development/python-modules/avro/default.nix')
-rw-r--r-- | pkgs/development/python-modules/avro/default.nix | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/avro/default.nix b/pkgs/development/python-modules/avro/default.nix index 21246fae47433..41c0e90ae939e 100644 --- a/pkgs/development/python-modules/avro/default.nix +++ b/pkgs/development/python-modules/avro/default.nix @@ -1,10 +1,11 @@ -{ lib -, buildPythonPackage -, pythonOlder -, setuptools -, fetchPypi -, typing-extensions -, pytestCheckHook +{ + lib, + buildPythonPackage, + pythonOlder, + setuptools, + fetchPypi, + typing-extensions, + pytestCheckHook, }: buildPythonPackage rec { @@ -12,6 +13,7 @@ buildPythonPackage rec { version = "1.11.3"; pyproject = true; + # distutils usage: https://github.com/search?q=repo%3Aapache%2Favro%20distutils&type=code disabled = pythonOlder "3.6"; src = fetchPypi { @@ -24,17 +26,11 @@ buildPythonPackage rec { --replace-fail 'distutils' 'setuptools._distutils' ''; - propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ - typing-extensions - ]; + propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ typing-extensions ]; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # Requires network access @@ -43,9 +39,7 @@ buildPythonPackage rec { "test_schema_compatibility_type_mismatch" ]; - pythonImportsCheck = [ - "avro" - ]; + pythonImportsCheck = [ "avro" ]; meta = with lib; { description = "Python serialization and RPC framework"; |