summary refs log tree commit diff
path: root/pkgs/tools/inputmethods/evdevremapkeys
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-01-06 10:12:48 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-01-07 10:43:52 +0100
commitffc02499d6c581d7f0fd4a802bfb7c353a47e7c4 (patch)
tree1e94b8a443f701d2af3287b4ae02d66dbebdf057 /pkgs/tools/inputmethods/evdevremapkeys
parent5a8b375db408d6f99543a2f0e41b325542f40687 (diff)
downloadnixpkgs-ffc02499d6c581d7f0fd4a802bfb7c353a47e7c4.tar
nixpkgs-ffc02499d6c581d7f0fd4a802bfb7c353a47e7c4.tar.gz
nixpkgs-ffc02499d6c581d7f0fd4a802bfb7c353a47e7c4.tar.bz2
nixpkgs-ffc02499d6c581d7f0fd4a802bfb7c353a47e7c4.tar.lz
nixpkgs-ffc02499d6c581d7f0fd4a802bfb7c353a47e7c4.tar.xz
nixpkgs-ffc02499d6c581d7f0fd4a802bfb7c353a47e7c4.tar.zst
nixpkgs-ffc02499d6c581d7f0fd4a802bfb7c353a47e7c4.zip
evdevremapkeys: Disable tests, remove name use
Diffstat (limited to 'pkgs/tools/inputmethods/evdevremapkeys')
-rw-r--r--pkgs/tools/inputmethods/evdevremapkeys/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/tools/inputmethods/evdevremapkeys/default.nix b/pkgs/tools/inputmethods/evdevremapkeys/default.nix
index 0dc6f673925..d70bf80d1ce 100644
--- a/pkgs/tools/inputmethods/evdevremapkeys/default.nix
+++ b/pkgs/tools/inputmethods/evdevremapkeys/default.nix
@@ -1,11 +1,8 @@
 { stdenv, fetchFromGitHub, python3Packages }:
 
-let
-  pythonPackages = python3Packages;
-
-in pythonPackages.buildPythonPackage rec {
-  name = "${pname}-0.1.0";
+python3Packages.buildPythonPackage rec {
   pname = "evdevremapkeys";
+  version = "0.1.0";
 
   src = fetchFromGitHub {
     owner = "philipl";
@@ -14,13 +11,18 @@ in pythonPackages.buildPythonPackage rec {
     sha256 = "0c9slflakm5jqd8s1zpxm7gmrrk0335m040d7m70hnsak42jvs2f";
   };
 
-  propagatedBuildInputs = with pythonPackages; [ 
+  propagatedBuildInputs = with python3Packages; [
     pyyaml
     pyxdg
     python-daemon
     evdev
   ];
 
+  # hase no tests
+  doCheck = false;
+
+  pythonImportsCheck = [ "evdevremapkeys" ];
+
   meta = with stdenv.lib; {
     homepage = "https://github.com/philipl/evdevremapkeys";
     description = "Daemon to remap events on linux input devices";