Add devshell and initial bats tests

This commit is contained in:
Sven van Heugten 2026-03-05 19:29:32 +01:00
parent af8fae68fe
commit d3b3862040
No known key found for this signature in database
GPG key ID: D612F88666F4F660
4 changed files with 102 additions and 4 deletions

View file

@ -15,6 +15,19 @@
in
{
packages.default = pkgs.callPackage ./default.nix { };
devShells.default = pkgs.mkShell {
packages = [
(pkgs.bats.withLibraries (p: [
p.bats-assert
p.bats-support
p.bats-file
]))
pkgs.python3
pkgs.python3Packages.flake8
pkgs.shellcheck
pkgs.shfmt
];
};
}
);
}