@@ -0,0 +1,36 @@
1+{ stdenv
2+, lib
3+, fetchFromGitHub
4+, wayland-scanner
5+, wayland
6+, pango
7+, glib
8+, harfbuzz
9+, cairo
10+, pkg-config
11+, libxkbcommon
12+}:
13+
14+stdenv.mkDerivation rec {
15+ pname = "wvkbd";
16+ version = "0.7";
17+
18+ src = fetchFromGitHub {
19+ owner = "jjsullivan5196";
20+ repo = pname;
21+ rev = "v${version}";
22+ sha256 = "sha256-5UV2PMrLXtF3AxjfPxxwFRkgVef+Ap8nG1v795o0bWE=";
23+ };
24+
25+ nativeBuildInputs = [ pkg-config ];
26+ buildInputs = [ wayland-scanner wayland pango glib harfbuzz cairo libxkbcommon ];
27+ installFlags = [ "PREFIX=$(out)" ];
28+
29+ meta = with lib; {
30+ homepage = "https://github.com/jjsullivan5196/wvkbd";
31+ description = "On-screen keyboard for wlroots";
32+ maintainers = [ maintainers.elohmeier ];
33+ platforms = platforms.linux;
34+ license = licenses.gpl3Plus;
35+ };
36+}