nixpkgs/pkgs/tools/wayland/wtype/default.nix

35 lines
659 B
Nix
Raw Normal View History

2020-09-27 22:36:34 +00:00
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, libxkbcommon
, wayland
}:
stdenv.mkDerivation rec {
2020-09-27 22:36:34 +00:00
pname = "wtype";
version = "0.3";
2020-09-27 22:36:34 +00:00
src = fetchFromGitHub {
owner = "atx";
repo = "wtype";
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 ];
};
}