504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
38 lines
1 KiB
Nix
38 lines
1 KiB
Nix
{ lib, nixosTests, callPackage, }:
|
|
let
|
|
generic = import ./generic.nix;
|
|
in
|
|
lib.fix (self: {
|
|
netbox = self.netbox_3_6;
|
|
|
|
netbox_3_5 = callPackage generic {
|
|
version = "3.5.9";
|
|
hash = "sha256-CJbcuCyTuihDXrObSGyJi2XF+zgWAwcJzjxtkX8pmKs=";
|
|
extraPatches = [
|
|
# Allow setting the STATIC_ROOT from within the configuration and setting a custom redis URL
|
|
./config.patch
|
|
];
|
|
tests = {
|
|
netbox = nixosTests.netbox_3_5;
|
|
inherit (nixosTests) netbox-upgrade;
|
|
};
|
|
|
|
maintainers = with lib.maintainers; [ minijackson n0emis raitobezarius ];
|
|
eol = true;
|
|
};
|
|
|
|
netbox_3_6 = callPackage generic {
|
|
version = "3.6.6";
|
|
hash = "sha256-viC4grOqpWvG2pqcSi+MJykpEXSQYqfpkKF9it9Tj1g=";
|
|
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 ];
|
|
};
|
|
})
|