1{ lib, buildPythonPackage, fetchPypi, django }:
2
3buildPythonPackage rec {
4 pname = "django-sites";
5 version = "0.10";
6
7 meta = {
8 description = ''
9 Alternative implementation of django "sites" framework
10 based on settings instead of models.
11 '';
12 homepage = https://github.com/niwinz/django-sites;
13 license = lib.licenses.bsd3;
14 };
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "f6f9ae55a05288a95567f5844222052b6b997819e174f4bde4e7c23763be6fc3";
19 };
20
21 propagatedBuildInputs = [ django ];
22
23 # 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.
24 doCheck = false;
25}