ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / owslib / default.nix
blobc2783642b514e7d1d2e3125b87fe606e84003aa2
1 { lib, buildPythonPackage, fetchPypi, python-dateutil, requests, pytz, pyproj , pytest, pyyaml } :
2 buildPythonPackage rec {
3   pname = "OWSLib";
4   version = "0.27.2";
6   src = fetchPypi {
7     inherit pname version;
8     sha256 = "sha256-4QKqJETf4MhDmrHhd2zA+kfOoowJuKKCEsiTxgF8F5s=";
9   };
11   # as now upstream https://github.com/geopython/OWSLib/pull/824
12   postPatch = ''
13     substituteInPlace requirements.txt \
14       --replace 'pyproj ' 'pyproj #'
15   '';
17   buildInputs = [ pytest ];
18   propagatedBuildInputs = [ python-dateutil pyproj pytz requests pyyaml ];
20   # 'tests' dir not included in pypy distribution archive.
21   doCheck = false;
23   meta = with lib; {
24     description = "client for Open Geospatial Consortium web service interface standards";
25     license = licenses.bsd3;
26     homepage = "https://www.osgeo.org/projects/owslib/";
27   };