showmethekey: init at 1.7.3

This commit is contained in:
ocfox 2022-07-30 11:28:38 +08:00
parent ea82517aba
commit 5bf5bdcd8a
No known key found for this signature in database
GPG Key ID: 8C2212388306143C
2 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,53 @@
{ lib
, stdenv
, fetchFromGitHub
, glib
, meson
, ninja
, libevdev
, json-glib
, cairo
, pango
, libinput
, gtk4
, wrapGAppsHook
, libxkbcommon
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "showmethekey";
version = "1.7.3";
src = fetchFromGitHub {
owner = "AlynxZhou";
repo = "showmethekey";
rev = "v${version}";
sha256 = "sha256-hq4X4dG25YauMjsNXC6Flco9pEpVj3EM2JiFWbRrPaA=";
};
nativeBuildInputs = [
glib
meson
ninja
cairo
pango
json-glib
pkg-config
libevdev
libinput
libxkbcommon
wrapGAppsHook
];
buildInputs = [
gtk4
];
meta = with lib; {
homepage = "https://showmethekey.alynx.one/";
description = "Show keys you typed on screen";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ ocfox ];
};
}

View File

@ -10595,6 +10595,8 @@ with pkgs;
shout = nodePackages.shout; shout = nodePackages.shout;
showmethekey = callPackage ../applications/video/showmethekey { };
shrikhand = callPackage ../data/fonts/shrikhand { }; shrikhand = callPackage ../data/fonts/shrikhand { };
shunit2 = callPackage ../tools/misc/shunit2 { }; shunit2 = callPackage ../tools/misc/shunit2 { };