02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
25 lines
873 B
Nix
25 lines
873 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, django, persisting-theory, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-dynamic-preferences";
|
|
version = "1.13.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-t7E8kTtbb24FyICv6uGpGxR6W8EfuVB5FR2cyItgalA=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|