1{ lib, buildPythonPackage, fetchPypi, python-dateutil, requests, pytz, pyproj , pytest, pyyaml } : 2buildPythonPackage rec { 3 pname = "OWSLib"; 4 version = "0.27.2"; 5 6 src = fetchPypi { 7 inherit pname version; 8 sha256 = "sha256-4QKqJETf4MhDmrHhd2zA+kfOoowJuKKCEsiTxgF8F5s="; 9 }; 10 11 # as now upstream https://github.com/geopython/OWSLib/pull/824 12 postPatch = '' 13 substituteInPlace requirements.txt \ 14 --replace 'pyproj ' 'pyproj #' 15 ''; 16 17 buildInputs = [ pytest ]; 18 propagatedBuildInputs = [ python-dateutil pyproj pytz requests pyyaml ]; 19 20 # 'tests' dir not included in pypy distribution archive. 21 doCheck = false; 22 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 }; 28}