-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `ghaf-robot` wrapper script wraps Robot Framework's `robot`-command, to be run inside environment which has all the necessary Python packages. Signed-off-by: Mika Tammi <[email protected]>
- Loading branch information
Mika Tammi
committed
Aug 16, 2023
1 parent
9c548ab
commit 971e9b2
Showing
2 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,27 @@ | ||
{hello}: hello | ||
{ | ||
PyP100, | ||
python3, | ||
robotframework-advancedlogging, | ||
robotframework-seriallibrary, | ||
stdenv, | ||
writeShellApplication, | ||
}: | ||
writeShellApplication { | ||
name = "ghaf-robot"; | ||
runtimeInputs = [ | ||
(python3.withPackages (ps: [ | ||
# These are taken from nixpkgs | ||
ps.robotframework | ||
ps.robotframework-sshlibrary | ||
ps.pyserial | ||
|
||
# These are taken from this flake | ||
robotframework-advancedlogging | ||
robotframework-seriallibrary | ||
PyP100 | ||
])) | ||
]; | ||
text = '' | ||
robot "$@" | ||
''; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters