about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/wayland/wtype/default.nix
blob: a1c4744318e3a2d1bbd03ee14dcf90cac14c3da4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, stdenv
, fetchFromGitHub

, meson
, ninja
, pkg-config

, libxkbcommon
, wayland
}:

stdenv.mkDerivation {
  pname = "wtype";
  version = "2020-09-14";

  src = fetchFromGitHub {
    owner = "atx";
    repo = "wtype";
    rev = "74071228dea4047157ae82960a2541ecc431e4a1";
    sha256 = "1ncspxpnbwv1vkfmxs58q7aykjb6skaa1pg5sw5h798pss5j80rd";
  };

  nativeBuildInputs = [ meson ninja pkg-config wayland ];
  buildInputs = [ libxkbcommon wayland ];

  meta = with lib; {
    description = "xdotool type for wayland";
    homepage = "https://github.com/atx/wtype";
    license = licenses.mit;
    platforms = platforms.linux;
    maintainers = with maintainers; [ justinlovinger ];
  };
}