about summary refs log tree commit diff
path: root/pkgs/tools/inputmethods/input-remapper
diff options
context:
space:
mode:
authorLuna Nova <git@lunnova.dev>2022-02-18 13:49:03 -0800
committerLuna Nova <git@lunnova.dev>2022-03-07 08:31:40 -0800
commit10c92e2ae01dae1c2513221ee367c63e07699b24 (patch)
tree90cca7a51c551f07f92131e2287e717c0d06ce09 /pkgs/tools/inputmethods/input-remapper
parent865e0df2fc3dd06ca7b5730a7f3651a94beb4006 (diff)
downloadnixlib-10c92e2ae01dae1c2513221ee367c63e07699b24.tar
nixlib-10c92e2ae01dae1c2513221ee367c63e07699b24.tar.gz
nixlib-10c92e2ae01dae1c2513221ee367c63e07699b24.tar.bz2
nixlib-10c92e2ae01dae1c2513221ee367c63e07699b24.tar.lz
nixlib-10c92e2ae01dae1c2513221ee367c63e07699b24.tar.xz
nixlib-10c92e2ae01dae1c2513221ee367c63e07699b24.tar.zst
nixlib-10c92e2ae01dae1c2513221ee367c63e07699b24.zip
input-remapper: add passthru.tests with nixosTests.input-remapper
Diffstat (limited to 'pkgs/tools/inputmethods/input-remapper')
-rw-r--r--pkgs/tools/inputmethods/input-remapper/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/input-remapper/default.nix b/pkgs/tools/inputmethods/input-remapper/default.nix
index 82664c3700e2..17ed972423b5 100644
--- a/pkgs/tools/inputmethods/input-remapper/default.nix
+++ b/pkgs/tools/inputmethods/input-remapper/default.nix
@@ -18,6 +18,7 @@
 , buildPythonApplication
 , procps
 , gtksourceview4
+, nixosTests
   # Change the default log level to debug for easier debugging of package issues
 , withDebugLogLevel ? false
   # Xmodmap is an optional dependency
@@ -146,6 +147,8 @@ buildPythonApplication {
     install -m755 -D -t $out/bin/ bin/input-remapper*
   '';
 
+  passthru.tests = nixosTests.input-remapper;
+
   meta = with lib; {
     description = "An easy to use tool to change the mapping of your input device buttons";
     homepage = "https://github.com/sezanzeb/input-remapper";