Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 82 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies aiosmtpd, django,
# tests factory-boy, mock, pip, postgresql, postgresqlTestHook, pygments, pytestCheckHook, pytest-cov-stub, pytest-django, shortuuid, vobject, werkzeug,}:
buildPythonPackage rec { pname = "django-extensions"; version = "4.1"; pyproject = true;
src = fetchFromGitHub { owner = "django-extensions"; repo = "django-extensions"; tag = version; hash = "sha256-WgO/bDe4anQCc1q2Gdq3W70yDqDgmsvn39Qf9ZNVXuE="; };
build-system = [ setuptools ];
dependencies = [ aiosmtpd django ];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [ factory-boy mock pip postgresql postgresqlTestHook pygments # not explicitly declared in setup.py, but some tests require it pytest-cov-stub pytest-django pytestCheckHook shortuuid vobject werkzeug ];
env = { postgresqlEnableTCP = 1; PGUSER = "postgres"; PGPASSWORD = "postgres"; PGDATABASE = "django_extensions_test"; };
disabledTestPaths = [ # https://github.com/django-extensions/django-extensions/issues/1871 "tests/test_dumpscript.py" ];
meta = with lib; { changelog = "https://github.com/django-extensions/django-extensions/releases/tag/${src.tag}"; description = "Collection of custom extensions for the Django Framework"; homepage = "https://github.com/django-extensions/django-extensions"; license = licenses.mit; };}