mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
wprs: add sanity test.
This commit is contained in:
parent
3e7fda332b
commit
fe815c1b43
@ -5,6 +5,8 @@
|
||||
pkg-config,
|
||||
libxkbcommon,
|
||||
python3,
|
||||
runCommand,
|
||||
wprs,
|
||||
}:
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "wprs";
|
||||
@ -40,6 +42,10 @@ rustPlatform.buildRustPackage {
|
||||
cp wprs "$out/bin/wprs"
|
||||
'';
|
||||
|
||||
passthru.tests.sanity = runCommand "wprs-sanity" { nativeBuildInputs = [ wprs ]; } ''
|
||||
${wprs}/bin/wprs -h > /dev/null && touch $out
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "rootless remote desktop access for remote Wayland";
|
||||
license = licenses.asl20;
|
||||
|
Loading…
Reference in New Issue
Block a user