summary refs log tree commit diff
path: root/pkgs/development/python-modules/django-dynamic-preferences
diff options
context:
space:
mode:
authorHenri Bourcereau <henri.bourcereau@gmail.com>2019-09-23 12:20:13 +0200
committerworldofpeace <worldofpeace@protonmail.ch>2019-10-16 17:07:10 -0400
commit9e0e61a91288df8f6605d81e6cdabd1a67515511 (patch)
tree249bbca1251a450d299ebbc75be9cb4c498847ef /pkgs/development/python-modules/django-dynamic-preferences
parentb63651963f2a70b63ea872b1c70a661b28c5cd68 (diff)
downloadnixpkgs-9e0e61a91288df8f6605d81e6cdabd1a67515511.tar
nixpkgs-9e0e61a91288df8f6605d81e6cdabd1a67515511.tar.gz
nixpkgs-9e0e61a91288df8f6605d81e6cdabd1a67515511.tar.bz2
nixpkgs-9e0e61a91288df8f6605d81e6cdabd1a67515511.tar.lz
nixpkgs-9e0e61a91288df8f6605d81e6cdabd1a67515511.tar.xz
nixpkgs-9e0e61a91288df8f6605d81e6cdabd1a67515511.tar.zst
nixpkgs-9e0e61a91288df8f6605d81e6cdabd1a67515511.zip
pythonPackages.django-dynamic-preferences: init at 1.7.1
Diffstat (limited to 'pkgs/development/python-modules/django-dynamic-preferences')
-rw-r--r--pkgs/development/python-modules/django-dynamic-preferences/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/django-dynamic-preferences/default.nix b/pkgs/development/python-modules/django-dynamic-preferences/default.nix
new file mode 100644
index 00000000000..28ec9aae24f
--- /dev/null
+++ b/pkgs/development/python-modules/django-dynamic-preferences/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, buildPythonPackage, fetchPypi
+, django, persisting-theory, six
+}:
+
+buildPythonPackage rec {
+  pname = "django-dynamic-preferences";
+  version = "1.7.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1z2dndkpypk4pvb0byh5a771vgp50vn8g1rbk5r3sml6dm4wcn7s";
+  };
+
+  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 stdenv.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 ];
+  };
+}