stateless-uptime-kuma/default.nix

33 lines
592 B
Nix
Raw Permalink Normal View History

2024-04-18 18:23:11 +02:00
{
sources ? import ./npins,
nixpkgs ? sources.nixpkgs,
pkgs ? import nixpkgs { overlays = [ (import ./overlay.nix) ]; },
2024-04-16 22:48:52 +02:00
}:
rec {
2024-04-18 19:00:20 +02:00
inherit pkgs;
2024-04-16 22:48:52 +02:00
shell = pkgs.mkShell {
packages = [
python
2024-04-18 18:19:59 +02:00
pkgs.ruff
2024-04-16 22:48:52 +02:00
];
};
2024-04-18 18:23:11 +02:00
python = pkgs.python3.withPackages (ps: [
ps.mypy
ps.click
ps.click-log
ps.uptime-kuma-api
]);
evalModules =
(pkgs.lib.evalModules {
modules = [
./nixos/module.nix
(
{ lib, ... }:
{
_module.args.pkgs = lib.mkDefault pkgs;
}
)
];
}).extendModules;
2024-04-16 22:48:52 +02:00
}