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";
|
2021-01-05 21:05:04 +00:00
|
|
|
version = "0.3";
|
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}";
|
|
|
|
hash = "sha256-8q2PxI3ItR4tsP/KOiSlqnuK4ZSe7OdekheolEFVmys=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|