depot/third_party/nixpkgs/pkgs/by-name/sh/showmethekey/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

51 lines
926 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, libevdev
, json-glib
, libinput
, gtk4
, libadwaita
, wrapGAppsHook4
, libxkbcommon
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "showmethekey";
version = "1.13.1";
src = fetchFromGitHub {
owner = "AlynxZhou";
repo = "showmethekey";
rev = "refs/tags/v${version}";
hash = "sha256-kifUp/neqTBPRuZKqNdW6JOinzh9LKfppyvW9AgxAYo=";
};
nativeBuildInputs = [
meson
ninja
json-glib
pkg-config
wrapGAppsHook4
];
buildInputs = [
gtk4
libadwaita
libevdev
libinput
libxkbcommon
];
meta = with lib; {
description = "Show keys you typed on screen";
homepage = "https://showmethekey.alynx.one/";
changelog = "https://github.com/AlynxZhou/showmethekey/releases/tag/v${version}";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ ocfox ];
};
}