nixpkgs-suyu/pkgs/tools/inputmethods/evdevremapkeys/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
799 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, python3Packages }:
2019-10-08 15:58:46 +02:00
python3Packages.buildPythonPackage rec {
2019-10-08 15:58:46 +02:00
pname = "evdevremapkeys";
2023-02-05 06:49:16 +01:00
version = "unstable-2021-05-04";
2019-10-08 15:58:46 +02:00
src = fetchFromGitHub {
owner = "philipl";
repo = pname;
2023-02-05 06:49:16 +01:00
rev = "9b6f372a9bdf8b27d39f7e655b74f6b9d1a8467f";
sha256 = "sha256-FwRbo0RTiiV2AB7z6XOalMnwMbj15jM4Dxs41TsIOQI=";
2019-10-08 15:58:46 +02:00
};
propagatedBuildInputs = with python3Packages; [
2019-10-08 15:58:46 +02:00
pyyaml
pyxdg
python-daemon
evdev
2023-02-05 06:49:16 +01:00
pyudev
2019-10-08 15:58:46 +02:00
];
# hase no tests
doCheck = false;
pythonImportsCheck = [ "evdevremapkeys" ];
meta = with lib; {
2019-10-08 15:58:46 +02:00
homepage = "https://github.com/philipl/evdevremapkeys";
description = "Daemon to remap events on linux input devices";
license = licenses.mit;
maintainers = [ maintainers.q3k ];
platforms = platforms.linux;
};
}