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