Unverified Commit 18f985d9 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

wprs: Fix missing runtime py dep. (#352029)

parents f26f4e2c fe815c1b
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -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;