depot/third_party/nixpkgs/pkgs/tools/inputmethods/evdevremapkeys/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

33 lines
783 B
Nix

{ lib, stdenv, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "evdevremapkeys";
version = "0.1.0";
src = fetchFromGitHub {
owner = "philipl";
repo = pname;
rev = "68fb618b8142e1b45d7a1e19ea9a5a9bbb206144";
sha256 = "0c9slflakm5jqd8s1zpxm7gmrrk0335m040d7m70hnsak42jvs2f";
};
propagatedBuildInputs = with python3Packages; [
pyyaml
pyxdg
python-daemon
evdev
];
# hase no tests
doCheck = false;
pythonImportsCheck = [ "evdevremapkeys" ];
meta = with lib; {
homepage = "https://github.com/philipl/evdevremapkeys";
description = "Daemon to remap events on linux input devices";
license = licenses.mit;
maintainers = [ maintainers.q3k ];
platforms = platforms.linux;
};
}