02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
28 lines
843 B
Nix
28 lines
843 B
Nix
{ lib, buildPythonPackage, fetchPypi, python-dateutil, requests, pytz, pyproj , pytest, pyyaml } :
|
|
buildPythonPackage rec {
|
|
pname = "OWSLib";
|
|
version = "0.26.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-jEywYzjrZAXCrs7QttCFaCqmHw8uUo8ceI1o3FDflBs=";
|
|
};
|
|
|
|
# as now upstream https://github.com/geopython/OWSLib/pull/824
|
|
postPatch = ''
|
|
substituteInPlace requirements.txt \
|
|
--replace 'pyproj ' 'pyproj #'
|
|
'';
|
|
|
|
buildInputs = [ pytest ];
|
|
propagatedBuildInputs = [ python-dateutil pyproj pytz requests pyyaml ];
|
|
|
|
# '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/";
|
|
};
|
|
}
|