mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
37 lines
775 B
Nix
37 lines
775 B
Nix
{ 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;
|
|
};
|
|
}
|