summary refs log tree commit diff
path: root/pkgs/development/python-modules/tilestache/default.nix
blob: 170360c133ed71800f599174620e5facb6432da5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, stdenv
, 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 ];

  meta = with lib; {
    description = "A tile server for rendered geographic data";
    homepage = "http://tilestache.org";
    license = licenses.bsd3;
  };

}