2021-01-15 22:18:51 +00:00
|
|
|
{ fetchurl, lib, stdenv }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-22 07:53:02 +00:00
|
|
|
pname = "actkbd";
|
|
|
|
version = "0.2.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-22 07:53:02 +00:00
|
|
|
url = "http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/files/actkbd-${version}.tar.bz2";
|
2020-04-24 23:36:52 +00:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Keyboard shortcut daemon";
|
2020-04-24 23:36:52 +00:00
|
|
|
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.
|
|
|
|
'';
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/";
|
|
|
|
platforms = platforms.linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "actkbd";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|