From 0d5791236431766fa70ceca0e1df17ac8087ed13 Mon Sep 17 00:00:00 2001 From: Enno Richter Date: Sat, 15 Jan 2022 23:17:26 +0100 Subject: [PATCH] wvkbd: init at 0.7 --- .../accessibility/wvkbd/default.nix | 36 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/applications/accessibility/wvkbd/default.nix diff --git a/pkgs/applications/accessibility/wvkbd/default.nix b/pkgs/applications/accessibility/wvkbd/default.nix new file mode 100644 index 000000000000..a593b0d2ea2b --- /dev/null +++ b/pkgs/applications/accessibility/wvkbd/default.nix @@ -0,0 +1,36 @@ +{ stdenv +, lib +, fetchFromGitHub +, wayland-scanner +, wayland +, pango +, glib +, harfbuzz +, cairo +, pkg-config +, libxkbcommon +}: + +stdenv.mkDerivation rec { + pname = "wvkbd"; + version = "0.7"; + + src = fetchFromGitHub { + owner = "jjsullivan5196"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-5UV2PMrLXtF3AxjfPxxwFRkgVef+Ap8nG1v795o0bWE="; + }; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f6cb53114a47..b4785cbd52cf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11091,6 +11091,8 @@ with pkgs; wv2 = callPackage ../tools/misc/wv2 { }; + wvkbd = callPackage ../applications/accessibility/wvkbd { }; + wyrd = callPackage ../tools/misc/wyrd { ocamlPackages = ocaml-ng.ocamlPackages_4_05; };