mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
33 lines
635 B
Nix
33 lines
635 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, modestmaps
|
|
, pillow
|
|
, pycairo
|
|
, python-mapnik
|
|
, simplejson
|
|
, werkzeug
|
|
, isPy27
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tilestache";
|
|
version = "1.51.13";
|
|
disabled = !isPy27;
|
|
|
|
src = fetchPypi {
|
|
pname = "TileStache";
|
|
inherit version;
|
|
sha256 = "11e15dd85501345bcfeb18dce5b1c8fb74ac8d867df2520afe0eefe1edd85f27";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|