switch to TOML config and export republisher feed manifests

This commit is contained in:
Abel Luck 2026-03-29 14:46:57 +02:00
parent 98dcea4d7e
commit 897af2872c
17 changed files with 832 additions and 324 deletions

View file

@ -76,6 +76,7 @@
ps.beautifulsoup4
ps.feedgen
ps."python-dateutil"
ps.pytest
]);
smokeCheck = pkgs.runCommand "pygea-smoke" { nativeBuildInputs = [ smokePython ]; } ''
@ -91,6 +92,14 @@
touch "$out/passed"
'';
pytestCheck = pkgs.runCommand "pygea-pytest" { nativeBuildInputs = [ smokePython ]; } ''
export PYTHONPATH="${./.}:$PYTHONPATH"
cd ${./.}
pytest
mkdir -p "$out"
touch "$out/passed"
'';
deadnixCheck = pkgs.runCommand "pygea-deadnix" { nativeBuildInputs = [ pkgs.deadnix ]; } ''
cd ${./.}
deadnix --fail .
@ -111,6 +120,7 @@
package-default = exportedPackage;
treefmt = treefmtConfig.build.check ./.;
smoke = smokeCheck;
pytest = pytestCheck;
deadnix = deadnixCheck;
statix = statixCheck;
}