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