diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/fiona/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/fiona/default.nix | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/fiona/default.nix b/nixpkgs/pkgs/development/python-modules/fiona/default.nix index 3e9430ef318b..edbd9433fb09 100644 --- a/nixpkgs/pkgs/development/python-modules/fiona/default.nix +++ b/nixpkgs/pkgs/development/python-modules/fiona/default.nix @@ -19,17 +19,16 @@ buildPythonPackage rec { pname = "fiona"; - version = "1.9.1"; + version = "1.9.4.post1"; + format = "pyproject"; disabled = pythonOlder "3.7"; - format = "pyproject"; - src = fetchFromGitHub { owner = "Toblerity"; repo = "Fiona"; rev = "refs/tags/${version}"; - hash = "sha256-2CGLkgnpCAh9G+ILol5tmRj9S6/XeKk8eLzGEODiyP8="; + hash = "sha256-CeGdWAmWteVtL0BoBQ1sB/+1AWkmxogtK99bL5Fpdbw="; }; nativeBuildInputs = [ @@ -49,7 +48,6 @@ buildPythonPackage rec { cligj click-plugins munch - setuptools ]; passthru.optional-dependencies = { @@ -66,18 +64,33 @@ buildPythonPackage rec { rm -r fiona # prevent importing local fiona ''; + pytestFlagsArray = [ + # Tests with gdal marker do not test the functionality of Fiona, + # but they are used to check GDAL driver capabilities. + "-m 'not gdal'" + ]; + disabledTests = [ # Some tests access network, others test packaging - "http" "https" "wheel" + "http" + "https" + "wheel" + + # see: https://github.com/Toblerity/Fiona/issues/1273 + "test_append_memoryfile_drivers" + ]; + + pythonImportsCheck = [ + "fiona" ]; - pythonImportsCheck = [ "fiona" ]; + doInstallCheck = true; meta = with lib; { changelog = "https://github.com/Toblerity/Fiona/blob/${src.rev}/CHANGES.txt"; description = "OGR's neat, nimble, no-nonsense API for Python"; homepage = "https://fiona.readthedocs.io/"; license = licenses.bsd3; - maintainers = with maintainers; [ knedlsepp ]; + maintainers = teams.geospatial.members; }; } |