Files
clan-core/pkgs/generate-test-vars/default.nix
a-kenji cca0c2aff8 pkgs/generate-test-vars: Add basic module test
Add a basic module test that can catch breaking changes in module
usage.
2025-05-26 15:41:48 +02:00

20 lines
392 B
Nix

{
buildPythonApplication,
python,
clan-cli,
}:
buildPythonApplication {
name = "generate-test-vars";
src = ./.;
format = "pyproject";
dependencies = [ (python.pkgs.toPythonModule clan-cli) ];
nativeBuildInputs = [
(python.withPackages (ps: [ ps.setuptools ]))
];
checkPhase = ''
runHook preCheck
$out/bin/generate-test-vars --help
runHook preCheck
'';
}