Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 25 lines 800 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, django 3}: 4 5buildPythonPackage rec { 6 pname = "django-storages"; 7 version = "1.9.1"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "148y2hyx1l4pfbqpq8hgq95fw8bhfbblwd3m5xwnhw6frcirk7m5"; 12 }; 13 14 propagatedBuildInputs = [ django ]; 15 16 # django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. 17 doCheck = false; 18 19 meta = with stdenv.lib; { 20 description = "Collection of custom storage backends for Django"; 21 homepage = "https://django-storages.readthedocs.io"; 22 license = licenses.bsd3; 23 maintainers = with maintainers; [ mmai ]; 24 }; 25}