netbox: 3.4.10 -> 3.5.0

authored by Minijackson and committed by Yureka 0c97d307 aa4d05bd

+26 -3
+1 -1
nixos/doc/manual/release-notes/rl-2305.section.md
··· 284 284 - `services.openssh.ciphers` to `services.openssh.settings.Ciphers` 285 285 - `services.openssh.gatewayPorts` to `services.openssh.settings.GatewayPorts` 286 286 287 - - `netbox` was updated to 3.4. NixOS' `services.netbox.package` still defaults to 3.3 if `stateVersion` is earlier than 23.05. Please review upstream's [breaking changes](https://github.com/netbox-community/netbox/releases/tag/v3.4.0), and upgrade NetBox by changing `services.netbox.package`. Database migrations will be run automatically. 287 + - `netbox` was updated to 3.5. NixOS' `services.netbox.package` still defaults to 3.3 if `stateVersion` is earlier than 23.05. Please review upstream's breaking changes [for 3.4.0](https://github.com/netbox-community/netbox/releases/tag/v3.4.0) and [for 3.5.0](https://github.com/netbox-community/netbox/releases/tag/v3.5.0), and upgrade NetBox by changing `services.netbox.package`. Database migrations will be run automatically. 288 288 289 289 - `services.netbox` now support RFC42-style options, through `services.netbox.settings`. 290 290
+2 -2
pkgs/servers/web-apps/netbox/default.nix
··· 23 23 }; 24 24 25 25 netbox = callPackage generic { 26 - version = "3.4.10"; 27 - hash = "sha256-STNukh/UYAiZ5amLfpmzIcv8OlRqW0zU+66ShfDiGkc="; 26 + version = "3.5.0"; 27 + hash = "sha256-LsUitX/e+ec/9mRBw+cbGOG2Idl9ZQwf/vxIC3YS5LU="; 28 28 extraPatches = [ 29 29 # Allow setting the STATIC_ROOT from within the configuration and setting a custom redis URL 30 30 ./config.patch
+23
pkgs/servers/web-apps/netbox/generic.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 + , fetchpatch 3 4 , python3 4 5 , version 5 6 , hash ··· 13 14 py = python3 // { 14 15 pkgs = python3.pkgs.overrideScope (self: super: { 15 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 + }); 16 34 }); 17 35 }; 18 36 ··· 35 53 36 54 propagatedBuildInputs = with py.pkgs; [ 37 55 bleach 56 + boto3 38 57 django_4 39 58 django-cors-headers 40 59 django-debug-toolbar ··· 49 68 django-taggit 50 69 django-timezone-field 51 70 djangorestframework 71 + drf-spectacular 72 + drf-spectacular-sidecar 52 73 drf-yasg 74 + dulwich 53 75 swagger-spec-validator # from drf-yasg[validation] 76 + feedparser 54 77 graphene-django 55 78 jinja2 56 79 markdown