18 # optional-dependencies
30 buildPythonPackage rec {
35 src = fetchFromGitHub {
39 hash = "sha256-5NN6PBh+6HS9OCc9eC2TcBvkcwtI4DV8qXnz4tlaMXc=";
44 gdal # for gdal-config
48 buildInputs = [ gdal ];
58 optional-dependencies = {
72 ] ++ optional-dependencies.s3;
75 rm -r fiona # prevent importing local fiona
79 # Tests with gdal marker do not test the functionality of Fiona,
80 # but they are used to check GDAL driver capabilities.
85 # Some tests access network, others test packaging
90 # see: https://github.com/Toblerity/Fiona/issues/1273
91 "test_append_memoryfile_drivers"
94 pythonImportsCheck = [ "fiona" ];
96 doInstallCheck = true;
99 changelog = "https://github.com/Toblerity/Fiona/blob/${src.rev}/CHANGES.txt";
100 description = "OGR's neat, nimble, no-nonsense API for Python";
102 homepage = "https://fiona.readthedocs.io/";
103 license = lib.licenses.bsd3;
104 maintainers = lib.teams.geospatial.members;