summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2015-04-15 17:46:51 +0000
committerJan Malakhovski <oxij@oxij.org>2015-04-20 16:04:51 +0000
commitbba9d17e943540413fe4d1b47ede03ac7f74da04 (patch)
treef781c5b3f8fe840d20a6cd945d85c9ecc9cd3ac6 /pkgs/tools/system
parent8eef55b0e0414672db82fa6a37d4cc8ddd58a2eb (diff)
downloadnixlib-bba9d17e943540413fe4d1b47ede03ac7f74da04.tar
nixlib-bba9d17e943540413fe4d1b47ede03ac7f74da04.tar.gz
nixlib-bba9d17e943540413fe4d1b47ede03ac7f74da04.tar.bz2
nixlib-bba9d17e943540413fe4d1b47ede03ac7f74da04.tar.lz
nixlib-bba9d17e943540413fe4d1b47ede03ac7f74da04.tar.xz
nixlib-bba9d17e943540413fe4d1b47ede03ac7f74da04.tar.zst
nixlib-bba9d17e943540413fe4d1b47ede03ac7f74da04.zip
actkbd: add version 0.2.8
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/actkbd/default.nix34
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;
+  };
+}