2018-10-27 14:16:17 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, modestmaps
|
|
|
|
, pillow
|
|
|
|
, pycairo
|
|
|
|
, python-mapnik
|
|
|
|
, simplejson
|
|
|
|
, werkzeug
|
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tilestache";
|
2018-11-04 10:35:19 +00:00
|
|
|
version = "1.51.13";
|
2018-10-27 14:16:17 +01:00
|
|
|
disabled = !isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:19 +00:00
|
|
|
sha256 = "11e15dd85501345bcfeb18dce5b1c8fb74ac8d867df2520afe0eefe1edd85f27";
|
2018-10-27 14:16:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ modestmaps pillow pycairo python-mapnik simplejson werkzeug ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A tile server for rendered geographic data";
|
|
|
|
homepage = http://tilestache.org;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|