diff options
author | betaboon <betaboon@0x80.ninja> | 2017-08-31 21:24:35 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-09-07 09:28:02 +0200 |
commit | e55f5fe4bc1701978ec2b5f85a92acd35b5335b7 (patch) | |
tree | 2460f19f3357c43cdd1ac2d67afb58fdff03992a /pkgs/development | |
parent | f69a072f5b5038d2393abac581991baef4c244df (diff) | |
download | nixlib-e55f5fe4bc1701978ec2b5f85a92acd35b5335b7.tar nixlib-e55f5fe4bc1701978ec2b5f85a92acd35b5335b7.tar.gz nixlib-e55f5fe4bc1701978ec2b5f85a92acd35b5335b7.tar.bz2 nixlib-e55f5fe4bc1701978ec2b5f85a92acd35b5335b7.tar.lz nixlib-e55f5fe4bc1701978ec2b5f85a92acd35b5335b7.tar.xz nixlib-e55f5fe4bc1701978ec2b5f85a92acd35b5335b7.tar.zst nixlib-e55f5fe4bc1701978ec2b5f85a92acd35b5335b7.zip |
pythonPackages.django-sites: init at 0.9
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/django-sites/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/django-sites/default.nix b/pkgs/development/python-modules/django-sites/default.nix new file mode 100644 index 000000000000..41b532ea184f --- /dev/null +++ b/pkgs/development/python-modules/django-sites/default.nix @@ -0,0 +1,26 @@ +{ lib, buildPythonPackage, fetchPypi, django }: + +buildPythonPackage rec { + pname = "django-sites"; + name = "${pname}-${version}"; + version = "0.9"; + + meta = { + description = '' + Alternative implementation of django "sites" framework + based on settings instead of models. + ''; + homepage = https://github.com/niwinz/django-sites; + license = lib.licenses.bsd3; + }; + + src = fetchPypi { + inherit pname version; + sha256 = "05nrydk4a5a99qrxjrcnacs8nbbq5pfjikdpj4w9yn5yfayp057s"; + }; + + propagatedBuildInputs = [ django ]; + + # django.core.exceptions.ImproperlyConfigured: Requested settings, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. + doCheck = false; +} |