chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / sy / sysmenu / package.nix
blob1c7f86aea499f4a1fee93ea988943fd833fb7bb8
2   stdenv,
3   lib,
4   fetchFromGitHub,
5   pkg-config,
6   git,
7   gtkmm4,
8   gtk4-layer-shell,
9   wrapGAppsHook4,
10   unstableGitUpdater,
13 stdenv.mkDerivation {
14   pname = "sysmenu";
15   version = "unstable-2024-06-13";
17   src = fetchFromGitHub {
18     owner = "System64fumo";
19     repo = "sysmenu";
20     rev = "0b891e5d27f286b867d4a0984ee284a3456de851";
21     hash = "sha256-zI6dmS+ZqcGrG/joWouqrMNQfTRflP677kYJLJEWTBc=";
22   };
24   patches = [
25     ./001-no-runtime-config.patch
26     ./002-cflags-fix.patch
27   ];
29   nativeBuildInputs = [
30     pkg-config
31     git
32     wrapGAppsHook4
33   ];
35   buildInputs = [
36     gtkmm4
37     gtk4-layer-shell
38   ];
40   installPhase = ''
41     runHook preInstall
42     install -Dm755 sysmenu $out/bin/sysmenu
43     runHook postInstall
44   '';
46   passthru.updateScript = unstableGitUpdater { };
48   meta = {
49     description = "Simple program launcher using GTK4";
50     homepage = "https://github.com/System64fumo/sysmenu";
51     license = lib.licenses.wtfpl;
52     mainProgram = "sysmenu";
53     maintainers = with lib.maintainers; [ matteopacini ];
54     platforms = lib.platforms.linux;
55   };