2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
python3Packages.buildPythonPackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "evdevremapkeys";
|
2023-02-09 11:40:11 +00:00
|
|
|
version = "unstable-2021-05-04";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "philipl";
|
|
|
|
repo = pname;
|
2023-02-09 11:40:11 +00:00
|
|
|
rev = "9b6f372a9bdf8b27d39f7e655b74f6b9d1a8467f";
|
|
|
|
sha256 = "sha256-FwRbo0RTiiV2AB7z6XOalMnwMbj15jM4Dxs41TsIOQI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2020-04-24 23:36:52 +00:00
|
|
|
pyyaml
|
|
|
|
pyxdg
|
|
|
|
python-daemon
|
|
|
|
evdev
|
2023-02-09 11:40:11 +00:00
|
|
|
pyudev
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
# hase no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "evdevremapkeys" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/philipl/evdevremapkeys";
|
|
|
|
description = "Daemon to remap events on linux input devices";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "evdevremapkeys";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.q3k ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|