diff --git a/pkgs/development/python-modules/owslib/default.nix b/pkgs/development/python-modules/owslib/default.nix new file mode 100644 index 000000000000..7331511568fa --- /dev/null +++ b/pkgs/development/python-modules/owslib/default.nix @@ -0,0 +1,22 @@ +{ lib, buildPythonPackage, fetchPypi, dateutil, requests, pytz, pyproj , pytest } : +buildPythonPackage rec { + pname = "OWSLib"; + version = "0.17.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "1px2nmbpbpp556kjq0ym0a7j24nbvs4w829727b2gr4a4ff86hxc"; + }; + + buildInputs = [ pytest ]; + propagatedBuildInputs = [ dateutil pyproj pytz requests ]; + + # 'tests' dir not included in pypy distribution archive. + doCheck = false; + + meta = with lib; { + description = "client for Open Geospatial Consortium web service interface standards"; + license = licenses.bsd3; + homepage = https://www.osgeo.org/projects/owslib/; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1979335357ff..05ac04a22bce 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4463,6 +4463,8 @@ in { }; }; + owslib = callPackage ../development/python-modules/owslib { }; + PyICU = buildPythonPackage rec { name = "PyICU-2.2";