Skip to content

Commit

Permalink
Merge pull request NixOS#212742 from ocfox/showmethekey
Browse files Browse the repository at this point in the history
showmethekey: 1.7.3 -> 1.8.0
  • Loading branch information
wegank authored Jan 26, 2023
2 parents 3858403 + 04c2e4a commit daeec2f
Showing 1 changed file with 6 additions and 22 deletions.
28 changes: 6 additions & 22 deletions pkgs/applications/video/showmethekey/default.nix
Original file line number Diff line number Diff line change
@@ -1,56 +1,40 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, glib
, meson
, ninja
, libevdev
, json-glib
, cairo
, pango
, libinput
, gtk4
, wrapGAppsHook4
, libxkbcommon
, pkg-config
}:

stdenv.mkDerivation rec {
pname = "showmethekey";
version = "1.7.3";
version = "1.8.0";

src = fetchFromGitHub {
owner = "AlynxZhou";
repo = "showmethekey";
repo = pname;
rev = "v${version}";
sha256 = "sha256-hq4X4dG25YauMjsNXC6Flco9pEpVj3EM2JiFWbRrPaA=";
hash = "sha256-iWZjOhugGD7GikcIKaJimfLrTDaGQeYgmp17N03Meb8=";
};

patches = [
(fetchpatch {
name = "use-gtk4-update-icon-cache.patch";
url = "https://github.com/alynxzhou/showmethekey/commit/c73102dc2825d00cbaf323fcfc96736381dc67ae.patch";
sha256 = "sha256-6QDY5eQ9A8q3LZeD7v6WI/4vYXc/XXVY/WENA1nvIKo=";
})
];

nativeBuildInputs = [
glib
meson
ninja
cairo
pango
json-glib
pkg-config
libevdev
libinput
libxkbcommon
wrapGAppsHook4
];

buildInputs = [
gtk4
libevdev
libinput
libxkbcommon
];

meta = with lib; {
Expand Down

0 comments on commit daeec2f

Please sign in to comment.