3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/django-dynamic-preferences/default.nix

26 lines
886 B
Nix

{ lib, buildPythonPackage, fetchPypi
, django, persisting-theory, six
}:
buildPythonPackage rec {
pname = "django-dynamic-preferences";
version = "1.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "f214c938b5872a17647e2b2ccfd9ad00a90a3c6c4aa83fa65d3c5c446e7a66c7";
};
propagatedBuildInputs = [ six django persisting-theory ];
# django.core.exceptions.ImproperlyConfigured: Requested setting DYNAMIC_PREFERENCES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings
doCheck = false;
meta = with lib; {
homepage = "https://github.com/EliotBerriot/django-dynamic-preferences";
description = "Dynamic global and instance settings for your django project";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}