blob: 3d5faba1c63c25aa4544101290bc58e1bccd625e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ 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";
mainProgram = "xlibinput_calibrator";
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 ];
};
}
|