27 buildPythonPackage rec {
28 pname = "django-extensions";
32 src = fetchFromGitHub {
35 rev = "refs/tags/${version}";
36 hash = "sha256-A2+5FBv0IhTJPkwgd7je+B9Ac64UHJEa3HRBbWr2FxM=";
41 # Replace dead asyncore, smtp implementation with aiosmtpd
42 name = "django-extensions-aiosmtpd.patch";
43 url = "https://github.com/django-extensions/django-extensions/commit/37d56c4a4704c823ac6a4ef7c3de4c0232ceee64.patch";
44 hash = "sha256-49UeJQKO0epwY/7tqoiHgOXdgPcB/JBIZaCn3ulaHTg=";
49 substituteInPlace setup.cfg \
50 --replace-fail "--cov=django_extensions --cov-report html --cov-report term" ""
52 substituteInPlace django_extensions/management/commands/pipchecker.py \
53 --replace-fail "from distutils.version" "from looseversion"
56 build-system = [ setuptools ];
64 __darwinAllowLocalNetworking = true;
70 pygments # not explicitly declared in setup.py, but some tests require it
79 # Mismatch in expectation of exception message
80 "test_installed_apps_no_resolve_conflicts_function"
84 # requires network access
85 "tests/management/commands/test_pipchecker.py"
86 # django.db.utils.OperationalError: no such table: django_extensions_permmodel
87 "tests/test_dumpscript.py"
91 description = "Collection of custom extensions for the Django Framework";
92 homepage = "https://github.com/django-extensions/django-extensions";
93 license = licenses.mit;