pythonPackages.tilestache: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-27 09:16:17 -04:00
parent f1c3b4fc93
commit e063c490b4
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 32 additions and 20 deletions

View file

@ -0,0 +1,31 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, modestmaps
, pillow
, pycairo
, python-mapnik
, simplejson
, werkzeug
, isPy27
}:
buildPythonPackage rec {
pname = "tilestache";
version = "1.50.1";
disabled = !isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1z1j35pz77lhhjdn69sq5rmz62b5m444507d8zjnp0in5xqaj6rj";
};
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;
};
}

View file

@ -3784,26 +3784,7 @@ in {
tidylib = callPackage ../development/python-modules/pytidylib { };
tilestache = self.buildPythonPackage rec {
name = "tilestache-${version}";
version = "1.50.1";
src = pkgs.fetchurl {
url = "mirror://pypi/T/TileStache/TileStache-${version}.tar.gz";
sha256 = "1z1j35pz77lhhjdn69sq5rmz62b5m444507d8zjnp0in5xqaj6rj";
};
disabled = !isPy27;
propagatedBuildInputs = with self;
[ modestmaps pillow pycairo python-mapnik simplejson werkzeug ];
meta = {
description = "A tile server for rendered geographic data";
homepage = http://tilestache.org;
license = licenses.bsd3;
};
};
tilestache = callPackage ../development/python-modules/tilestache { };
timelib = buildPythonPackage rec {
name = "timelib-0.2.4";