summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/owslib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/owslib/default.nix')
-rw-r--r--pkgs/development/python-modules/owslib/default.nix63
1 files changed, 31 insertions, 32 deletions
diff --git a/pkgs/development/python-modules/owslib/default.nix b/pkgs/development/python-modules/owslib/default.nix
index efa0a744f4b5..e67dc18143fb 100644
--- a/pkgs/development/python-modules/owslib/default.nix
+++ b/pkgs/development/python-modules/owslib/default.nix
@@ -1,16 +1,17 @@
-{ lib
-, stdenv
-, buildPythonPackage
-, fetchFromGitHub
+{
+ lib,
+ stdenv,
+ buildPythonPackage,
+ fetchFromGitHub,
-, lxml
-, pyproj
-, pytestCheckHook
-, python-dateutil
-, pythonOlder
-, pytz
-, pyyaml
-, requests
+ lxml,
+ pyproj,
+ pytestCheckHook,
+ python-dateutil,
+ pythonOlder,
+ pytz,
+ pyyaml,
+ requests,
}:
buildPythonPackage rec {
@@ -41,33 +42,31 @@ buildPythonPackage rec {
requests
];
- nativeCheckInputs = [
- pytestCheckHook
- ];
+ nativeCheckInputs = [ pytestCheckHook ];
- pythonImportsCheck = [
- "owslib"
- ];
+ pythonImportsCheck = [ "owslib" ];
preCheck = ''
# _pytest.pathlib.ImportPathMismatchError: ('owslib.swe.sensor.sml', '/build/source/build/...
export PY_IGNORE_IMPORTMISMATCH=1
'';
- disabledTests = [
- # Tests require network access
- "test_ows_interfaces_wcs"
- "test_wfs_110_remotemd"
- "test_wfs_200_remotemd"
- "test_wms_130_remotemd"
- "test_wmts_example_informatievlaanderen"
- "test_opensearch_creodias"
- ] ++ lib.optionals stdenv.isDarwin [
- "test_ogcapi_processes_pygeoapi"
- "test_ogcapi_records_pycsw"
- "test_ogcapi_records_pygeoapi"
- "test_wms_getfeatureinfo_130"
- ];
+ disabledTests =
+ [
+ # Tests require network access
+ "test_ows_interfaces_wcs"
+ "test_wfs_110_remotemd"
+ "test_wfs_200_remotemd"
+ "test_wms_130_remotemd"
+ "test_wmts_example_informatievlaanderen"
+ "test_opensearch_creodias"
+ ]
+ ++ lib.optionals stdenv.isDarwin [
+ "test_ogcapi_processes_pygeoapi"
+ "test_ogcapi_records_pycsw"
+ "test_ogcapi_records_pygeoapi"
+ "test_wms_getfeatureinfo_130"
+ ];
meta = with lib; {
description = "Client for Open Geospatial Consortium web service interface standards";