2020-09-27 22:36:34 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
|
|
|
|
, libxkbcommon
|
|
|
|
, wayland
|
|
|
|
}:
|
|
|
|
|
2021-01-05 21:05:04 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-09-27 22:36:34 +00:00
|
|
|
pname = "wtype";
|
2022-02-28 01:37:02 +00:00
|
|
|
version = "0.4";
|
2020-09-27 22:36:34 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "atx";
|
|
|
|
repo = "wtype";
|
2021-01-05 21:05:04 +00:00
|
|
|
rev = "v${version}";
|
2022-02-28 01:37:02 +00:00
|
|
|
hash = "sha256-TfpzAi0mkXugQn70MISyNFOXIJpDwvgh3enGv0Xq8S4=";
|
2020-09-27 22:36:34 +00:00
|
|
|
};
|
|
|
|
|
2022-05-09 14:18:15 +00:00
|
|
|
strictDeps = true;
|
2020-09-27 22:36:34 +00:00
|
|
|
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 ];
|
2023-08-04 22:11:04 +00:00
|
|
|
mainProgram = "wtype";
|
2020-09-27 22:36:34 +00:00
|
|
|
};
|
|
|
|
}
|