Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / wl / wl-kbptr / package.nix
blob8b60cd2a7b9132bed4d62568fdf5b501b41e568d
2   lib,
3   fetchFromGitHub,
4   gitUpdater,
5   gtk3,
6   libxkbcommon,
7   meson,
8   ninja,
9   pkg-config,
10   stdenv,
11   wayland,
12   wayland-protocols,
14 let
15   pname = "wl-kbptr";
16   version = "0.2.1";
18 stdenv.mkDerivation {
19   inherit pname version;
20   src = fetchFromGitHub {
21     owner = "moverest";
22     repo = "wl-kbptr";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-bA4PbWJNM4qWDF5KfNEgeQ5Z/r/Aw3wL8YUMSnzUo0w=";
25   };
27   depsBuildBuild = [ pkg-config ];
29   nativeBuildInputs = [
30     meson
31     ninja
32     pkg-config
33   ];
35   buildInputs = [
36     gtk3
37     libxkbcommon
38     wayland
39     wayland-protocols
40   ];
42   strictDeps = true;
44   passthru = {
45     updateScript = gitUpdater { };
46   };
48   meta = {
49     homepage = "https://github.com/moverest/wl-kbptr";
50     description = "Control the mouse pointer with the keyboard on Wayland";
51     changelog = "https://github.com/moverest/wl-kbptr/releases/tag/v${version}";
52     license = lib.licenses.gpl3;
53     mainProgram = "wl-kbptr";
54     maintainers = [ lib.maintainers.luftmensch-luftmensch ];
55     inherit (wayland.meta) platforms;
56   };