xlibinput_calibrator: init at 0.11

This commit is contained in:
Atemu 2023-05-01 19:13:14 +02:00
parent 937a9d1ee7
commit e7f2aff581
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, stdenv
, fetchFromGitHub
, libX11
, libXi
, libXrandr
, txt2man
}:
stdenv.mkDerivation rec {
pname = "xlibinput-calibrator";
version = "0.11";
src = fetchFromGitHub {
owner = "kreijack";
repo = "xlibinput_calibrator";
rev = "v${version}";
hash = "sha256-MvlamN8WSER0zN9Ru3Kr2MFARD9s7PYKkRtyD8s6ZPI=";
};
nativeBuildInputs = [
txt2man
];
buildInputs = [
libX11
libXi
libXrandr
];
installFlags = [ "prefix=$(out)" ];
enableParallelBuilding = true;
meta = with lib; {
description = "Touch calibrator for libinput";
homepage = "https://github.com/kreijack/xlibinput_calibrator";
changelog = "https://github.com/kreijack/xlibinput_calibrator/blob/${src.rev}/Changelog";
license = with licenses; [ mit ];
maintainers = with maintainers; [ atemu ];
};
}

View File

@ -39612,6 +39612,8 @@ with pkgs;
xlayoutdisplay = callPackage ../tools/X11/xlayoutdisplay { };
xlibinput-calibrator = callPackage ../tools/inputmethods/xlibinput_calibrator { };
xlog = callPackage ../applications/radio/xlog { };
xmagnify = callPackage ../tools/X11/xmagnify { };