Set up testing with pytest and co

This commit is contained in:
2025-06-10 20:58:49 +02:00
parent cc22ec0783
commit 4f45d9f39e
8 changed files with 258 additions and 3 deletions
+8
View File
@@ -29,6 +29,14 @@ python3Packages.buildPythonApplication {
sqlalchemy
];
pythonImportsCheck = [];
doCheck = true;
nativeCheckInputs = with python3Packages; [
pytest
pytestCheckHook
];
postInstall = ''
wrapProgram $out/bin/dibbler \
--prefix PATH : "${lib.makeBinPath [ less ]}"