wprs: Fix missing runtime py dep. (#352029)
This commit is contained in:
commit
18f985d962
@ -5,9 +5,10 @@
|
||||
pkg-config,
|
||||
libxkbcommon,
|
||||
python3,
|
||||
python3Packages,
|
||||
runCommand,
|
||||
wprs,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "wprs";
|
||||
version = "0-unstable-2024-10-22";
|
||||
|
||||
@ -24,9 +25,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs = [
|
||||
libxkbcommon
|
||||
python3
|
||||
python3Packages.psutil
|
||||
|
||||
(python3.withPackages (pp: with pp; [ psutil ]))
|
||||
];
|
||||
|
||||
cargoLock = {
|
||||
@ -43,6 +42,10 @@ rustPlatform.buildRustPackage rec {
|
||||
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