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
253 B
Nix
Raw Normal View History

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