mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 05:37:27 +03:00
wl-kbptr: init at 0.2.1
This commit is contained in:
parent
f1f4eb1e36
commit
65379b1c1f
57
pkgs/by-name/wl/wl-kbptr/package.nix
Normal file
57
pkgs/by-name/wl/wl-kbptr/package.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
gtk3,
|
||||
libxkbcommon,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
stdenv,
|
||||
wayland,
|
||||
wayland-protocols,
|
||||
}:
|
||||
let
|
||||
pname = "wl-kbptr";
|
||||
version = "0.2.1";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
src = fetchFromGitHub {
|
||||
owner = "moverest";
|
||||
repo = "wl-kbptr";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-bA4PbWJNM4qWDF5KfNEgeQ5Z/r/Aw3wL8YUMSnzUo0w=";
|
||||
};
|
||||
|
||||
depsBuildBuild = [ pkg-config ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
libxkbcommon
|
||||
wayland
|
||||
wayland-protocols
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = gitUpdater { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/moverest/wl-kbptr";
|
||||
description = "Control the mouse pointer with the keyboard on Wayland";
|
||||
changelog = "https://github.com/moverest/wl-kbptr/releases/tag/v${version}";
|
||||
license = lib.licenses.gpl3;
|
||||
mainProgram = "wl-kbptr";
|
||||
maintainers = [ lib.maintainers.luftmensch-luftmensch ];
|
||||
inherit (wayland.meta) platforms;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user