lol

Merge pull request #137662 from yuuyins/django-debug-toolbar

authored by

Sandro and committed by
GitHub
52b6f8a6 fb9048d0

+64
+10
maintainers/maintainer-list.nix
··· 12538 12538 fingerprint = "9270 66BD 8125 A45B 4AC4 0326 6180 7181 F60E FCB2"; 12539 12539 }]; 12540 12540 }; 12541 + yuu = { 12542 + email = "yuuyin@protonmail.com"; 12543 + github = "yuuyins"; 12544 + githubId = 86538850; 12545 + name = "Yuu Yin"; 12546 + keys = [{ 12547 + longkeyid = "rsa4096/0x416F303B43C20AC3"; 12548 + fingerprint = "9F19 3AE8 AA25 647F FC31 46B5 416F 303B 43C2 0AC3"; 12549 + }]; 12550 + }; 12541 12551 yvesf = { 12542 12552 email = "yvesf+nix@xapek.org"; 12543 12553 github = "yvesf";
+52
pkgs/development/python-modules/django-debug-toolbar/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , pythonOlder 4 + , buildPythonPackage 5 + , python 6 + , django 7 + , jinja2 8 + , sqlparse 9 + , html5lib 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "django-debug-toolbar"; 14 + version = "3.2.2"; 15 + disabled = pythonOlder "3.6"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "jazzband"; 19 + repo = pname; 20 + rev = version; 21 + sha256 = "1dgb3s449nasbnqd5xfikxrfhwwilwlgrw9nv4bfkapvkzpdszjk"; 22 + }; 23 + 24 + propagatedBuildInputs = [ 25 + django 26 + jinja2 27 + sqlparse 28 + ]; 29 + 30 + DB_BACKEND = "sqlite3"; 31 + DB_NAME = ":memory:"; 32 + TEST_ARGS = "tests"; 33 + DJANGO_SETTINGS_MODULE = "tests.settings"; 34 + 35 + checkInputs = [ 36 + html5lib 37 + ]; 38 + 39 + checkPhase = '' 40 + runHook preCheck 41 + ${python.interpreter} -m django test ${TEST_ARGS} 42 + runHook postCheck 43 + ''; 44 + 45 + meta = { 46 + description = "Configurable set of panels that display debug information about the current request/response"; 47 + homepage = "https://github.com/jazzband/django-debug-toolbar"; 48 + changelog = "https://django-debug-toolbar.readthedocs.io/en/latest/changes.html"; 49 + maintainers = with lib.maintainers; [ yuu ]; 50 + license = lib.licenses.bsd3; 51 + }; 52 + }
+2
pkgs/top-level/python-packages.nix
··· 2108 2108 2109 2109 django-csp = callPackage ../development/python-modules/django-csp { }; 2110 2110 2111 + django-debug-toolbar = callPackage ../development/python-modules/django-debug-toolbar { }; 2112 + 2111 2113 django-discover-runner = callPackage ../development/python-modules/django-discover-runner { }; 2112 2114 2113 2115 django-dynamic-preferences = callPackage ../development/python-modules/django-dynamic-preferences { };