File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 55 pkg-config ,
66 libxkbcommon ,
77 python3 ,
8- python3Packages ,
8+ runCommand ,
9+ wprs ,
910} :
10- rustPlatform . buildRustPackage rec {
11+ rustPlatform . buildRustPackage {
1112 pname = "wprs" ;
1213 version = "0-unstable-2024-10-22" ;
1314
@@ -24,9 +25,7 @@ rustPlatform.buildRustPackage rec {
2425
2526 buildInputs = [
2627 libxkbcommon
27- python3
28- python3Packages . psutil
29-
28+ ( python3 . withPackages ( pp : with pp ; [ psutil ] ) )
3029 ] ;
3130
3231 cargoLock = {
@@ -43,6 +42,10 @@ rustPlatform.buildRustPackage rec {
4342 cp wprs "$out/bin/wprs"
4443 '' ;
4544
45+ passthru . tests . sanity = runCommand "wprs-sanity" { nativeBuildInputs = [ wprs ] ; } ''
46+ ${ wprs } /bin/wprs -h > /dev/null && touch $out
47+ '' ;
48+
4649 meta = with lib ; {
4750 description = "rootless remote desktop access for remote Wayland" ;
4851 license = licenses . asl20 ;
You can’t perform that action at this time.
0 commit comments