nixpkgs/pkgs/by-name/sh/showmethekey/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
926 B
Nix
Raw Normal View History

2022-07-30 04:28:38 +01:00
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, libevdev
, json-glib
, libinput
, gtk4
, libadwaita
2022-10-09 19:00:48 +01:00
, wrapGAppsHook4
2022-07-30 04:28:38 +01:00
, libxkbcommon
, pkg-config
}:
2022-07-30 04:28:38 +01:00
stdenv.mkDerivation rec {
pname = "showmethekey";
version = "1.17.0";
2022-07-30 04:28:38 +01:00
src = fetchFromGitHub {
owner = "AlynxZhou";
repo = "showmethekey";
rev = "refs/tags/v${version}";
hash = "sha256-d+k7EbGrFWOztr/e+ugnXVP/hUZAIEgmLDvQDf18K48=";
2022-07-30 04:28:38 +01:00
};
nativeBuildInputs = [
meson
ninja
json-glib
pkg-config
2022-10-09 19:00:48 +01:00
wrapGAppsHook4
2022-07-30 04:28:38 +01:00
];
buildInputs = [
gtk4
libadwaita
2023-01-26 09:36:38 +00:00
libevdev
libinput
libxkbcommon
2022-07-30 04:28:38 +01:00
];
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}";
2022-07-30 04:28:38 +01:00
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ ocfox ];
};
}