diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-02-16 00:23:16 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-02-16 12:37:40 -0300 |
commit | e72435ba8ebc12a548224e4a522c5306007da0f4 (patch) | |
tree | 33f683d26d0a181f43538297e61ce688abfbb188 /pkgs/tools/wayland/wev | |
parent | 70066b0191d46fd87f0fb53af202eb0796010767 (diff) |
wev: rename from tools/misc to tools/wayland
Diffstat (limited to 'pkgs/tools/wayland/wev')
-rw-r--r-- | pkgs/tools/wayland/wev/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/tools/wayland/wev/default.nix b/pkgs/tools/wayland/wev/default.nix new file mode 100644 index 0000000000000..83e4113f7ea2a --- /dev/null +++ b/pkgs/tools/wayland/wev/default.nix @@ -0,0 +1,36 @@ +{ lib +, stdenv +, fetchurl +, pkg-config +, scdoc +, wayland +, wayland-protocols +, libxkbcommon +}: + +stdenv.mkDerivation rec { + pname = "wev"; + version = "1.0.0"; + + src = fetchurl { + url = "https://git.sr.ht/~sircmpwn/wev/archive/${version}.tar.gz"; + sha256 = "0vlxdkb59v6nb10j28gh1a56sx8jk7ak7liwzv911kpmygnls03g"; + }; + + nativeBuildInputs = [ pkg-config scdoc wayland ]; + buildInputs = [ wayland-protocols libxkbcommon ]; + + installFlags = [ "PREFIX=$(out)" ]; + + meta = with lib; { + homepage = "https://git.sr.ht/~sircmpwn/wev"; + description = "Wayland event viewer"; + longDescription = '' + This is a tool for debugging events on a Wayland window, analagous to the + X11 tool xev. + ''; + license = licenses.mit; + maintainers = with maintainers; [ primeos ]; + platforms = platforms.unix; + }; +} |