mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
netbox: 3.3.5 -> 3.3.9
This commit is contained in:
parent
4c5c40f176
commit
945182bc68
|
@ -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; [
|
||||
|
|
Loading…
Reference in a new issue