netbox: remove unnecessary python overrides

The drf-nested-routers patches are already applied globally in our
drf-nested-routers package. django 4 is already the default.

Yureka 8213eb1a a0d332ad

+5 -28
+5 -28
pkgs/servers/web-apps/netbox/generic.nix
··· 11 11 , eol ? false 12 12 }: 13 13 let 14 - py = python3 // { 15 - pkgs = python3.pkgs.overrideScope (self: super: { 16 - django = super.django_4; 17 - drf-nested-routers = super.drf-nested-routers.overridePythonAttrs (_oldAttrs: { 18 - patches = [ 19 - # all for django 4 compat 20 - (fetchpatch { 21 - url = "https://github.com/alanjds/drf-nested-routers/commit/59764cc356f7f593422b26845a9dfac0ad196120.diff"; 22 - hash = "sha256-mq3vLHzQlGl2EReJ5mVVQMMcYgGIVt/T+qi1STtQ0aI="; 23 - }) 24 - (fetchpatch { 25 - url = "https://github.com/alanjds/drf-nested-routers/commit/723a5729dd2ffcb66fe315f229789ca454986fa4.diff"; 26 - hash = "sha256-UCbBjwlidqsJ9vEEWlGzfqqMOr0xuB2TAaUxHsLzFfU="; 27 - }) 28 - (fetchpatch { 29 - url = "https://github.com/alanjds/drf-nested-routers/commit/38e49eb73759bc7dcaaa9166169590f5315e1278.diff"; 30 - hash = "sha256-IW4BLhHHhXDUZqHaXg46qWoQ89pMXv0ZxKjOCTnDcI0="; 31 - }) 32 - ]; 33 - }); 34 - }); 35 - }; 36 - 37 - extraBuildInputs = plugins py.pkgs; 14 + extraBuildInputs = plugins python3.pkgs; 38 15 in 39 - py.pkgs.buildPythonApplication rec { 16 + python3.pkgs.buildPythonApplication rec { 40 17 pname = "netbox"; 41 18 inherit version; 42 19 ··· 51 28 52 29 patches = extraPatches; 53 30 54 - propagatedBuildInputs = with py.pkgs; [ 31 + propagatedBuildInputs = with python3.pkgs; [ 55 32 bleach 56 33 boto3 57 34 django_4 ··· 90 67 jsonschema 91 68 ] ++ extraBuildInputs; 92 69 93 - buildInputs = with py.pkgs; [ 70 + buildInputs = with python3.pkgs; [ 94 71 mkdocs-material 95 72 mkdocs-material-extensions 96 73 mkdocstrings ··· 98 75 ]; 99 76 100 77 nativeBuildInputs = [ 101 - py.pkgs.mkdocs 78 + python3.pkgs.mkdocs 102 79 ]; 103 80 104 81 postBuild = ''