diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-12-10 20:46:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-10 20:46:53 +0100 |
commit | 926684b2d295d65321211552ba1b68fe2ef99798 (patch) | |
tree | ce43acc5a93d5be32f96a58ec2e46f01a9c9ce8d /pkgs/servers/web-apps | |
parent | d5b726129bdf8f694bf2dcf113e808fb71bb662d (diff) | |
parent | 945182bc68d3f28cb83c9458faef63c43f27e5b8 (diff) |
Merge pull request #198053 from r-ryantm/auto-update/netbox
Diffstat (limited to 'pkgs/servers/web-apps')
-rw-r--r-- | pkgs/servers/web-apps/netbox/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/servers/web-apps/netbox/default.nix b/pkgs/servers/web-apps/netbox/default.nix index 6d516161ab973..6e48ccd59e397 100644 --- a/pkgs/servers/web-apps/netbox/default.nix +++ b/pkgs/servers/web-apps/netbox/default.nix @@ -1,6 +1,7 @@ { lib , pkgs , fetchFromGitHub +, fetchpatch , nixosTests , python3 @@ -17,21 +18,26 @@ let in py.pkgs.buildPythonApplication rec { pname = "netbox"; - version = "3.3.5"; + version = "3.3.9"; + + format = "other"; src = fetchFromGitHub { owner = "netbox-community"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-PHKAGIxajjpBNo40eeqhh1L6Cd3ahjKaHvVtDR5Pyt8="; + sha256 = "sha256-KhnxD5pjlEIgISl4RMbhLCDwgUDfGFRi88ZcP1ndMhI="; }; - format = "other"; - patches = [ # Allow setting the STATIC_ROOT from within the configuration and setting a custom redis URL ./config.patch ./graphql-3_2_0.patch + # fix compatiblity ith django 4.1 + (fetchpatch { + url = "https://github.com/netbox-community/netbox/pull/10341/commits/ce6bf9e5c1bc08edc80f6ea1e55cf1318ae6e14b.patch"; + sha256 = "sha256-aCPQp6k7Zwga29euASAd+f13hIcZnIUu3RPAzNPqgxc="; + }) ]; propagatedBuildInputs = with py.pkgs; [ |