mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
49 lines
820 B
Nix
49 lines
820 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, libevdev
|
|
, json-glib
|
|
, libinput
|
|
, gtk4
|
|
, libadwaita
|
|
, wrapGAppsHook4
|
|
, libxkbcommon
|
|
, pkg-config
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "showmethekey";
|
|
version = "1.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AlynxZhou";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-eeObomb4Gv/vpvViHsi3+O0JR/rYamrlZNZaXKL6KJw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
json-glib
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
libadwaita
|
|
libevdev
|
|
libinput
|
|
libxkbcommon
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|