Merge pull request #229324 from Atemu/init/xlibinput_calibrator

xlibinput_calibrator: init at 0.11
This commit is contained in:
Atemu 2023-05-06 21:01:59 +02:00 committed by GitHub
commit 868f602ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -39720,6 +39720,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 { };