Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
1.0 KiB
Nix
41 lines
1.0 KiB
Nix
{
|
|
fetchurl,
|
|
lib,
|
|
stdenv,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "actkbd";
|
|
version = "0.2.8";
|
|
|
|
src = fetchurl {
|
|
url = "http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/files/actkbd-${version}.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 = {
|
|
description = "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 = lib.licenses.gpl2Only;
|
|
homepage = "http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/";
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "actkbd";
|
|
};
|
|
}
|