nixpkgs/pkgs/tools/wayland/wtype/default.nix
2023-08-05 00:11:04 +02:00

37 lines
707 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, libxkbcommon
, wayland
}:
stdenv.mkDerivation rec {
pname = "wtype";
version = "0.4";
src = fetchFromGitHub {
owner = "atx";
repo = "wtype";
rev = "v${version}";
hash = "sha256-TfpzAi0mkXugQn70MISyNFOXIJpDwvgh3enGv0Xq8S4=";
};
strictDeps = true;
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 ];
mainProgram = "wtype";
};
}