uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
37
pkgs/tools/wayland/wshowkeys/default.nix
Normal file
37
pkgs/tools/wayland/wshowkeys/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, stdenv, fetchFromGitHub
|
||||
, meson, pkg-config, wayland-scanner, ninja
|
||||
, cairo, libinput, pango, wayland, wayland-protocols, libxkbcommon
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wshowkeys-unstable";
|
||||
version = "2021-08-01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ammgws";
|
||||
repo = "wshowkeys";
|
||||
rev = "e8bfc78f08ebdd1316daae59ecc77e62bba68b2b";
|
||||
sha256 = "sha256-/HvNCQWsXOJZeCxHWmsLlbBDhBzF7XP/SPLdDiWMDC4=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ meson pkg-config wayland-scanner ninja ];
|
||||
buildInputs = [ cairo libinput pango wayland wayland-protocols libxkbcommon ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Displays keys being pressed on a Wayland session";
|
||||
longDescription = ''
|
||||
Displays keypresses on screen on supported Wayland compositors (requires
|
||||
wlr_layer_shell_v1 support).
|
||||
Note: This tool requires root permissions to read input events, but these
|
||||
permissions are dropped after startup. The NixOS module provides such a
|
||||
setuid binary (use "programs.wshowkeys.enable = true;").
|
||||
'';
|
||||
homepage = "https://github.com/ammgws/wshowkeys";
|
||||
license = with licenses; [ gpl3Only mit ];
|
||||
# Some portions of the code are taken from Sway which is MIT licensed.
|
||||
# TODO: gpl3Only or gpl3Plus (ask upstream)?
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ primeos berbiche ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue