11 rustPlatform.buildRustPackage rec {
16 inherit pname version;
17 hash = "sha256-8Gy0h0QMcittnjuKm+atIJNsY2d6Ua29oab4fkUU+wE=";
25 buildInputs = [ libbsd ];
27 cargoHash = "sha256-W6LvdjR3jTf08X75wPWloLx7FUYTpboB3E5f0g75M5g=";
30 installManPage inputplug.1
34 description = "Monitor XInput events and run arbitrary scripts on hierarchy change events";
35 homepage = "https://github.com/andrewshadura/inputplug";
36 license = licenses.mit;
37 platforms = platforms.unix;
38 # `daemon(3)` is deprecated on macOS and `pidfile-rs` needs updating
39 broken = stdenv.hostPlatform.isDarwin;
40 maintainers = with maintainers; [ jecaro ];
41 mainProgram = "inputplug";