8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
31 lines
750 B
Nix
31 lines
750 B
Nix
{ stdenv, fetchFromGitHub, python3Packages }:
|
|
|
|
let
|
|
pythonPackages = python3Packages;
|
|
|
|
in pythonPackages.buildPythonPackage rec {
|
|
name = "${pname}-0.1.0";
|
|
pname = "evdevremapkeys";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "philipl";
|
|
repo = pname;
|
|
rev = "68fb618b8142e1b45d7a1e19ea9a5a9bbb206144";
|
|
sha256 = "0c9slflakm5jqd8s1zpxm7gmrrk0335m040d7m70hnsak42jvs2f";
|
|
};
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
pyyaml
|
|
pyxdg
|
|
python-daemon
|
|
evdev
|
|
];
|
|
|
|
meta = with stdenv.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;
|
|
};
|
|
}
|