nixpkgs/pkgs/development/python-modules/tilestache/default.nix

33 lines
635 B
Nix
Raw Normal View History

{ 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";
disabled = !isPy27;
src = fetchPypi {
2019-03-21 11:36:11 +00:00
pname = "TileStache";
inherit version;
2018-11-04 10:35:19 +00:00
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;
};
}