2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, modestmaps
|
|
|
|
, pillow
|
|
|
|
, pycairo
|
|
|
|
, python-mapnik
|
|
|
|
, simplejson
|
|
|
|
, werkzeug
|
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tilestache";
|
|
|
|
version = "1.51.14";
|
|
|
|
disabled = !isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "TileStache";
|
|
|
|
inherit version;
|
|
|
|
sha256 = "1qjrabl6qr7i6yj6v647ck92abcyklb0vmb6h6kj7x8v2cj5xbvk";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ modestmaps pillow pycairo python-mapnik simplejson werkzeug ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A tile server for rendered geographic data";
|
|
|
|
homepage = "http://tilestache.org";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|