triggerhappy: init at 0.5.0
This commit is contained in:
parent
461ab720e5
commit
00562b5a9a
|
@ -3791,6 +3791,11 @@
|
||||||
github = "Radvendii";
|
github = "Radvendii";
|
||||||
name = "Taeer Bar-Yam";
|
name = "Taeer Bar-Yam";
|
||||||
};
|
};
|
||||||
|
taha = {
|
||||||
|
email = "xrcrod@gmail.com";
|
||||||
|
github = "tgharib";
|
||||||
|
name = "Taha Gharib";
|
||||||
|
};
|
||||||
tailhook = {
|
tailhook = {
|
||||||
email = "paul@colomiets.name";
|
email = "paul@colomiets.name";
|
||||||
github = "tailhook";
|
github = "tailhook";
|
||||||
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
{ stdenv, fetchurl, perl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "triggerhappy-${version}";
|
||||||
|
version = "0.5.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/wertarbyte/triggerhappy/archive/release/${version}.tar.gz";
|
||||||
|
sha256 = "af0fc196202f2d35153be401769a9ad9107b5b6387146cfa8895ae9cafad631c";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ perl ];
|
||||||
|
installFlags = [ "DESTDIR=$(out)" ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile --replace "/usr/" "/"
|
||||||
|
substituteInPlace Makefile --replace "/sbin/" "/bin/"
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
install -D -m 644 -t "$out/etc/triggerhappy/triggers.d" "triggerhappy.conf.examples"
|
||||||
|
install -D -m 644 -t "$out/usr/lib/systemd/system" "systemd/triggerhappy.service" "systemd/triggerhappy.socket"
|
||||||
|
install -D -m 644 -t "$out/usr/lib/udev/rules.d" "udev/triggerhappy-udev.rules"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A lightweight hotkey daemon";
|
||||||
|
longDescription = ''
|
||||||
|
Triggerhappy is a hotkey daemon developed with small and embedded systems in
|
||||||
|
mind, e.g. linux based routers. It attaches to the input device files and
|
||||||
|
interprets the event data received and executes scripts configured in its
|
||||||
|
configuration.
|
||||||
|
'';
|
||||||
|
homepage = https://github.com/wertarbyte/triggerhappy/;
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.taha ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5440,6 +5440,8 @@ with pkgs;
|
||||||
|
|
||||||
trickle = callPackage ../tools/networking/trickle {};
|
trickle = callPackage ../tools/networking/trickle {};
|
||||||
|
|
||||||
|
triggerhappy = callPackage ../tools/inputmethods/triggerhappy {};
|
||||||
|
|
||||||
trousers = callPackage ../tools/security/trousers { };
|
trousers = callPackage ../tools/security/trousers { };
|
||||||
|
|
||||||
tryton = callPackage ../applications/office/tryton { };
|
tryton = callPackage ../applications/office/tryton { };
|
||||||
|
|
Loading…
Reference in New Issue