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