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";
|
2021-01-06 09:12:48 +00:00
|
|
|
version = "0.1.0";
|
2019-10-08 13:58:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "philipl";
|
|
|
|
repo = pname;
|
|
|
|
rev = "68fb618b8142e1b45d7a1e19ea9a5a9bbb206144";
|
|
|
|
sha256 = "0c9slflakm5jqd8s1zpxm7gmrrk0335m040d7m70hnsak42jvs2f";
|
|
|
|
};
|
|
|
|
|
2021-01-06 09:12:48 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2019-10-08 13:58:46 +00:00
|
|
|
pyyaml
|
|
|
|
pyxdg
|
|
|
|
python-daemon
|
|
|
|
evdev
|
|
|
|
];
|
|
|
|
|
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";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.q3k ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|