Add wayland-push-to-talk-fix
parent
d2bf5334ce
commit
25bee6dd76
|
@ -261,6 +261,7 @@ in {
|
|||
calibre
|
||||
chromium
|
||||
discord
|
||||
wayland-push-to-talk-fix
|
||||
fanficfare
|
||||
feh
|
||||
gimp
|
||||
|
|
|
@ -33,5 +33,6 @@
|
|||
runHook postInstall
|
||||
'';
|
||||
});
|
||||
wayland-push-to-talk-fix = self.callPackage ./wayland-push-to-talk-fix.nix {};
|
||||
|
||||
})
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{ stdenv, libevdev, xdotool, xorg, pkg-config, fetchFromGitHub }:
|
||||
stdenv.mkDerivation {
|
||||
pname = "wayland-push-to-talk-fix";
|
||||
version = "0.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "yorickvP";
|
||||
repo = "wayland-push-to-talk-fix";
|
||||
rev = "57131c6983b083bb4677df9a073e66b84825b256";
|
||||
hash = "sha256-46wk4sJTqNIU01wWnlcPU5rmzZHRcgUzVnYYJy95L7A=";
|
||||
};
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ xorg.libX11 xorg.xorgproto xdotool libevdev ];
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp push-to-talk $out/bin/wayland-push-to-talk-fix
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue