diff options
author | lethalman <lucabru@src.gnome.org> | 2015-04-27 12:31:15 +0200 |
---|---|---|
committer | lethalman <lucabru@src.gnome.org> | 2015-04-27 12:31:15 +0200 |
commit | 9807dbc1420169e66bc1eac07103c15a46525489 (patch) | |
tree | 1e08824377887067fa1aaebb301c195cd6d8d5a6 /pkgs/tools/system | |
parent | 62c60b438700f47f99ad4340afb1849050c77c62 (diff) | |
parent | 57ab189e7807ade1432a5c02599ed11a7ee9cc37 (diff) | |
download | nixlib-9807dbc1420169e66bc1eac07103c15a46525489.tar nixlib-9807dbc1420169e66bc1eac07103c15a46525489.tar.gz nixlib-9807dbc1420169e66bc1eac07103c15a46525489.tar.bz2 nixlib-9807dbc1420169e66bc1eac07103c15a46525489.tar.lz nixlib-9807dbc1420169e66bc1eac07103c15a46525489.tar.xz nixlib-9807dbc1420169e66bc1eac07103c15a46525489.tar.zst nixlib-9807dbc1420169e66bc1eac07103c15a46525489.zip |
Merge pull request #7486 from oxij/actkbd-and-media-keys
add actkbd; nixos: add support for volume control with media keys
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/actkbd/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/system/actkbd/default.nix b/pkgs/tools/system/actkbd/default.nix new file mode 100644 index 000000000000..706b3700a415 --- /dev/null +++ b/pkgs/tools/system/actkbd/default.nix @@ -0,0 +1,34 @@ +{ fetchurl, stdenv }: + +stdenv.mkDerivation rec { + name = "actkbd-0.2.8"; + + src = fetchurl { + url = "http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/files/${name}.tar.bz2"; + sha256 = "1ipb7k5q7k7p54is96ij2n74jfa6xc0llb9lpjwxhsqviqxn9slm"; + }; + + preConfigure = '' + substituteInPlace Makefile \ + --replace /usr/local $out \ + --replace /etc $out/etc + ''; + + postInstall = '' + mkdir -p $out/share/doc/actkbd + cp -r README samples $out/share/doc/actkbd + ''; + + meta = with stdenv.lib; { + description = "A keyboard shortcut daemon"; + longDescription = '' + actkbd is a simple daemon that binds actions to keyboard events + directly on evdev interface (that is, no X11 required). It + recognises key combinations and can handle press, repeat and + release events. + ''; + license = licenses.gpl2; + homepage = "http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/"; + platforms = platforms.linux; + }; +} |