nixpkgs/pkgs/tools/system/actkbd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
995 B
Nix
Raw Normal View History

{ fetchurl, lib, stdenv }:
2015-04-15 18:46:51 +01:00
stdenv.mkDerivation rec {
pname = "actkbd";
version = "0.2.8";
2015-04-15 18:46:51 +01:00
src = fetchurl {
url = "http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/files/actkbd-${version}.tar.bz2";
2015-04-15 18:46:51 +01: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
'';
meta = with lib; {
2015-04-15 18:46:51 +01:00
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/";
2015-04-15 18:46:51 +01:00
platforms = platforms.linux;
};
}