2022-04-27 09:35:20 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, wayland-scanner
|
|
|
|
, wayland
|
|
|
|
, pango
|
|
|
|
, glib
|
|
|
|
, harfbuzz
|
|
|
|
, cairo
|
|
|
|
, pkg-config
|
|
|
|
, libxkbcommon
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wvkbd";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "0.10";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jjsullivan5196";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-h/hXHQfLiDkVKYZFsjyq2+w1Pnn3lR6H+r+fXYkP5ZY=";
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ wayland-scanner wayland pango glib harfbuzz cairo libxkbcommon ];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/jjsullivan5196/wvkbd";
|
|
|
|
description = "On-screen keyboard for wlroots";
|
|
|
|
maintainers = [ maintainers.elohmeier ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
};
|
|
|
|
}
|