netbox: 3.4.10 -> 3.5.0
This commit is contained in:
parent
aa4d05bdc2
commit
0c97d307e6
3 changed files with 26 additions and 3 deletions
|
@ -284,7 +284,7 @@ In addition to numerous new and upgraded packages, this release has the followin
|
||||||
- `services.openssh.ciphers` to `services.openssh.settings.Ciphers`
|
- `services.openssh.ciphers` to `services.openssh.settings.Ciphers`
|
||||||
- `services.openssh.gatewayPorts` to `services.openssh.settings.GatewayPorts`
|
- `services.openssh.gatewayPorts` to `services.openssh.settings.GatewayPorts`
|
||||||
|
|
||||||
- `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.
|
- `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.
|
||||||
|
|
||||||
- `services.netbox` now support RFC42-style options, through `services.netbox.settings`.
|
- `services.netbox` now support RFC42-style options, through `services.netbox.settings`.
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
netbox = callPackage generic {
|
netbox = callPackage generic {
|
||||||
version = "3.4.10";
|
version = "3.5.0";
|
||||||
hash = "sha256-STNukh/UYAiZ5amLfpmzIcv8OlRqW0zU+66ShfDiGkc=";
|
hash = "sha256-LsUitX/e+ec/9mRBw+cbGOG2Idl9ZQwf/vxIC3YS5LU=";
|
||||||
extraPatches = [
|
extraPatches = [
|
||||||
# Allow setting the STATIC_ROOT from within the configuration and setting a custom redis URL
|
# Allow setting the STATIC_ROOT from within the configuration and setting a custom redis URL
|
||||||
./config.patch
|
./config.patch
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, python3
|
, python3
|
||||||
, version
|
, version
|
||||||
, hash
|
, hash
|
||||||
|
@ -13,6 +14,23 @@
|
||||||
py = python3 // {
|
py = python3 // {
|
||||||
pkgs = python3.pkgs.overrideScope (self: super: {
|
pkgs = python3.pkgs.overrideScope (self: super: {
|
||||||
django = super.django_4;
|
django = super.django_4;
|
||||||
|
drf-nested-routers = super.drf-nested-routers.overridePythonAttrs (_oldAttrs: {
|
||||||
|
patches = [
|
||||||
|
# all for django 4 compat
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/alanjds/drf-nested-routers/commit/59764cc356f7f593422b26845a9dfac0ad196120.diff";
|
||||||
|
hash = "sha256-mq3vLHzQlGl2EReJ5mVVQMMcYgGIVt/T+qi1STtQ0aI=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/alanjds/drf-nested-routers/commit/723a5729dd2ffcb66fe315f229789ca454986fa4.diff";
|
||||||
|
hash = "sha256-UCbBjwlidqsJ9vEEWlGzfqqMOr0xuB2TAaUxHsLzFfU=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/alanjds/drf-nested-routers/commit/38e49eb73759bc7dcaaa9166169590f5315e1278.diff";
|
||||||
|
hash = "sha256-IW4BLhHHhXDUZqHaXg46qWoQ89pMXv0ZxKjOCTnDcI0=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -35,6 +53,7 @@
|
||||||
|
|
||||||
propagatedBuildInputs = with py.pkgs; [
|
propagatedBuildInputs = with py.pkgs; [
|
||||||
bleach
|
bleach
|
||||||
|
boto3
|
||||||
django_4
|
django_4
|
||||||
django-cors-headers
|
django-cors-headers
|
||||||
django-debug-toolbar
|
django-debug-toolbar
|
||||||
|
@ -49,8 +68,12 @@
|
||||||
django-taggit
|
django-taggit
|
||||||
django-timezone-field
|
django-timezone-field
|
||||||
djangorestframework
|
djangorestframework
|
||||||
|
drf-spectacular
|
||||||
|
drf-spectacular-sidecar
|
||||||
drf-yasg
|
drf-yasg
|
||||||
|
dulwich
|
||||||
swagger-spec-validator # from drf-yasg[validation]
|
swagger-spec-validator # from drf-yasg[validation]
|
||||||
|
feedparser
|
||||||
graphene-django
|
graphene-django
|
||||||
jinja2
|
jinja2
|
||||||
markdown
|
markdown
|
||||||
|
|
Loading…
Reference in a new issue