lol

Merge pull request #17431 from lancelotsix/add_django_raster

Add django raster

authored by

Frederik Rietdijk and committed by
GitHub
b1e42243 2988112a

+22 -5
+22 -5
pkgs/top-level/python-packages.nix
··· 3217 3217 name = "celery-${version}"; 3218 3218 version = "3.1.23"; 3219 3219 3220 - disabled = pythonOlder "2.6"; 3220 + disabled = (pythonOlder "2.6") || isPy35; 3221 3221 3222 3222 src = pkgs.fetchurl { 3223 3223 url = "mirror://pypi/c/celery/${name}.tar.gz"; ··· 9050 9050 name = "django-colorful-${version}"; 9051 9051 version = "1.2"; 9052 9052 9053 - disabled = isPy35; 9054 - 9055 9053 src = pkgs.fetchurl { 9056 9054 url = "mirror://pypi/d/django-colorful/${name}.tar.gz"; 9057 9055 sha256 = "0y34hzvfrm1xbxrd8frybc9yzgqvz4c07frafipjikw7kfjsw8az"; ··· 9251 9249 homepage = http://www.django-rest-framework.org/; 9252 9250 maintainers = with maintainers; [ desiderius ]; 9253 9251 license = licenses.bsd2; 9252 + }; 9253 + }; 9254 + 9255 + django_raster = buildPythonPackage rec { 9256 + name = "djongoraster-${version}"; 9257 + version = "0.2"; 9258 + 9259 + src = pkgs.fetchurl { 9260 + url = "https://pypi.python.org/packages/09/3d/5b9b491186579825ef6e81d60c8ddaf86d8c98d928753a329980bf48b050/django-raster-0.2.tar.gz"; 9261 + sha256 = "1zdcxzj43qrv7cl6q9nb2dkfnsyn74dzf2igpnd6nbbfdnkif9bm"; 9262 + }; 9263 + 9264 + propagatedBuildInputs = with self ; [ numpy django_colorful pillow psycopg2 9265 + pyparsing django celery ]; 9266 + 9267 + meta = { 9268 + description = "Basic raster data integration for Django"; 9269 + homepage = https://github.com/geodesign/django-raster; 9270 + license = licenses.mit; 9254 9271 }; 9255 9272 }; 9256 9273 ··· 12127 12144 }; 12128 12145 12129 12146 # most of these are simply to allow the test suite to do its job 12130 - buildInputs = with self; [ mock unittest2 nose redis qpid-python pymongo sqlalchemy pyyaml msgpack boto ]; 12147 + buildInputs = with self; optionals isPy27 [ mock unittest2 nose redis qpid-python pymongo sqlalchemy pyyaml msgpack boto ]; 12131 12148 12132 12149 propagatedBuildInputs = with self; [ amqp anyjson ] ++ 12133 12150 (optionals (pythonOlder "2.7") [ importlib ordereddict ]); 12134 12151 12135 12152 # tests broken on python 2.6? https://github.com/nose-devs/nose/issues/806 12136 - doCheck = (pythonAtLeast "2.7"); 12153 + doCheck = isPy27; 12137 12154 12138 12155 meta = { 12139 12156 description = "Messaging library for Python";