nixpkgs-suyu/pkgs/applications/video/showmethekey/default.nix

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

48 lines
791 B
Nix
Raw Normal View History

2022-07-30 05:28:38 +02:00
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, libevdev
, json-glib
, libinput
, gtk4
2022-10-09 20:00:48 +02:00
, wrapGAppsHook4
2022-07-30 05:28:38 +02:00
, libxkbcommon
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "showmethekey";
2023-01-26 10:36:38 +01:00
version = "1.8.0";
2022-07-30 05:28:38 +02:00
src = fetchFromGitHub {
owner = "AlynxZhou";
2023-01-26 10:36:38 +01:00
repo = pname;
2022-07-30 05:28:38 +02:00
rev = "v${version}";
2023-01-26 10:36:38 +01:00
hash = "sha256-iWZjOhugGD7GikcIKaJimfLrTDaGQeYgmp17N03Meb8=";
2022-07-30 05:28:38 +02:00
};
nativeBuildInputs = [
meson
ninja
json-glib
pkg-config
2022-10-09 20:00:48 +02:00
wrapGAppsHook4
2022-07-30 05:28:38 +02:00
];
buildInputs = [
gtk4
2023-01-26 10:36:38 +01:00
libevdev
libinput
libxkbcommon
2022-07-30 05:28:38 +02:00
];
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 ];
};
}