nixpkgs/nixos/lib/test-driver/nixos-test-driver-docstrings.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
261 B
Nix
Raw Normal View History

{
runCommand,
python3,
}:
let
env = {
nativeBuildInputs = [ python3 ];
};
in
runCommand "nixos-test-driver-docstrings" env ''
mkdir $out
2024-12-31 00:14:30 +00:00
python3 ${./src/extract-docstrings.py} ${./src/test_driver/machine.py} \
> $out/machine-methods.md
''