Merge pull request #134949 from jecaro/add-inputplug

authored by Sandro and committed by GitHub 545fc025 cfa2ffe3

+43
+6
maintainers/maintainer-list.nix
··· 4943 4943 github = "jduan"; 4944 4944 githubId = 452450; 4945 4945 }; 4946 + jecaro = { 4947 + email = "jeancharles.quillet@gmail.com"; 4948 + github = "jecaro"; 4949 + githubId = 17029738; 4950 + name = "Jean-Charles Quillet"; 4951 + }; 4946 4952 jefdaj = { 4947 4953 email = "jefdaj@gmail.com"; 4948 4954 github = "jefdaj";
+35
pkgs/tools/X11/inputplug/default.nix
··· 1 + { fetchCrate 2 + , installShellFiles 3 + , lib 4 + , libbsd 5 + , pkg-config 6 + , rustPlatform 7 + }: 8 + 9 + rustPlatform.buildRustPackage rec { 10 + pname = "inputplug"; 11 + version = "0.4.0"; 12 + 13 + src = fetchCrate { 14 + inherit pname version; 15 + sha256 = "00gv2i2pxy56l6ysslbscxinr4r0mpk9p2ivkrnjnwhc8j3v8v7h"; 16 + }; 17 + 18 + nativeBuildInputs = [ installShellFiles pkg-config ]; 19 + 20 + buildInputs = [ libbsd ]; 21 + 22 + cargoSha256 = "161kz47d4psfvh0vm98k8qappg50lpsw1ybyy7s3g3bp6ivfz8jv"; 23 + 24 + postInstall = '' 25 + installManPage inputplug.1 26 + ''; 27 + 28 + meta = with lib; { 29 + description = "Monitor XInput events and run arbitrary scripts on hierarchy change events"; 30 + homepage = "https://github.com/andrewshadura/inputplug"; 31 + license = licenses.mit; 32 + maintainers = with maintainers; [ jecaro ]; 33 + }; 34 + } 35 +
+2
pkgs/top-level/all-packages.nix
··· 25342 25342 25343 25343 inspectrum = callPackage ../applications/radio/inspectrum { }; 25344 25344 25345 + inputplug = callPackage ../tools/X11/inputplug { }; 25346 + 25345 25347 ion3 = callPackage ../applications/window-managers/ion-3 { 25346 25348 lua = lua5_1; 25347 25349 };