added stuff

This commit is contained in:
vali 2024-04-09 23:11:33 +02:00
commit 236b8c2a6b
907 changed files with 70990 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{
lib,
python3Packages,
doCheck ? false,
...
}:
python3Packages.buildPythonApplication {
pname = "sample-python-project";
version = "0.0.1";
src = ./.;
propagatedBuildInputs = with python3Packages; [];
nativeCheckInputs = [
python3Packages.pytest
];
checkPhase = lib.optionals doCheck ''
runHook preCheck
pytest
runHook postCheck
'';
}