nixpkgs/pkgs/applications/video/showmethekey/default.nix
Fabian Affolter 0741e65506
showmethekey: add changelog to meta
- minor refactoring
2024-05-02 15:44:29 +02:00

52 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.0";
src = fetchFromGitHub {
owner = "AlynxZhou";
repo = "showmethekey";
rev = "refs/tags/v${version}";
hash = "sha256-pVFkO/+a7GAOXbYBfU0zcO/uD26PX+y02bEZa3f1ZP8=";
};
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 ];
};
}