2024-08-02 09:37:03 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
nixosTests,
|
|
|
|
callPackage,
|
|
|
|
}:
|
2022-03-05 18:24:57 +00:00
|
|
|
let
|
2023-04-04 09:43:03 +00:00
|
|
|
generic = import ./generic.nix;
|
2022-03-05 18:24:57 +00:00
|
|
|
in
|
2024-08-02 09:37:03 +00:00
|
|
|
{
|
2024-01-22 15:17:57 +00:00
|
|
|
netbox_3_7 = callPackage generic {
|
2024-05-12 15:02:55 +00:00
|
|
|
version = "3.7.8";
|
|
|
|
hash = "sha256-61pJbMWXNFnvWI0z9yWvsutdCAP4VydeceANNw0nKsk=";
|
2024-01-22 15:17:57 +00:00
|
|
|
extraPatches = [
|
|
|
|
# Allow setting the STATIC_ROOT from within the configuration and setting a custom redis URL
|
|
|
|
./config.patch
|
|
|
|
];
|
2024-08-02 09:32:32 +00:00
|
|
|
tests.netbox = nixosTests.netbox_3_7;
|
2024-01-22 15:17:57 +00:00
|
|
|
|
2024-08-02 09:37:03 +00:00
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
minijackson
|
|
|
|
n0emis
|
|
|
|
raitobezarius
|
|
|
|
];
|
2024-08-02 09:32:32 +00:00
|
|
|
eol = true;
|
2024-01-22 15:17:57 +00:00
|
|
|
};
|
2024-08-02 09:37:03 +00:00
|
|
|
}
|