mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
3592c63e3a
netbox_3_7: 3.7.4 -> 3.7.8
39 lines
1.0 KiB
Nix
39 lines
1.0 KiB
Nix
{ lib, nixosTests, callPackage, }:
|
|
let
|
|
generic = import ./generic.nix;
|
|
in
|
|
lib.fix (self: {
|
|
netbox = self.netbox_3_7;
|
|
|
|
netbox_3_6 = callPackage generic {
|
|
version = "3.6.9";
|
|
hash = "sha256-R/hcBKrylW3GnEy10DkrLVr8YJtsSCvCP9H9LhafO9I=";
|
|
extraPatches = [
|
|
# Allow setting the STATIC_ROOT from within the configuration and setting a custom redis URL
|
|
./config.patch
|
|
];
|
|
tests = {
|
|
netbox = nixosTests.netbox_3_6;
|
|
inherit (nixosTests) netbox-upgrade;
|
|
};
|
|
|
|
maintainers = with lib.maintainers; [ minijackson n0emis raitobezarius ];
|
|
eol = true;
|
|
};
|
|
|
|
netbox_3_7 = callPackage generic {
|
|
version = "3.7.8";
|
|
hash = "sha256-61pJbMWXNFnvWI0z9yWvsutdCAP4VydeceANNw0nKsk=";
|
|
extraPatches = [
|
|
# Allow setting the STATIC_ROOT from within the configuration and setting a custom redis URL
|
|
./config.patch
|
|
];
|
|
tests = {
|
|
netbox = nixosTests.netbox_3_7;
|
|
inherit (nixosTests) netbox-upgrade;
|
|
};
|
|
|
|
maintainers = with lib.maintainers; [ minijackson n0emis raitobezarius ];
|
|
};
|
|
})
|