vifm: 0.13 -> 0.14 (#380559)
[NixPkgs.git] / pkgs / by-name / xl / xlibinput-calibrator / package.nix
blob2fc3a5640d01a24b4a9153c93ecedb0513d798af
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   libX11,
6   libXi,
7   libXrandr,
8   txt2man,
9 }:
11 stdenv.mkDerivation rec {
12   pname = "xlibinput-calibrator";
13   version = "0.11";
15   src = fetchFromGitHub {
16     owner = "kreijack";
17     repo = "xlibinput_calibrator";
18     rev = "v${version}";
19     hash = "sha256-MvlamN8WSER0zN9Ru3Kr2MFARD9s7PYKkRtyD8s6ZPI=";
20   };
22   nativeBuildInputs = [
23     txt2man
24   ];
26   buildInputs = [
27     libX11
28     libXi
29     libXrandr
30   ];
32   installFlags = [ "prefix=$(out)" ];
34   enableParallelBuilding = true;
36   meta = with lib; {
37     description = "Touch calibrator for libinput";
38     mainProgram = "xlibinput_calibrator";
39     homepage = "https://github.com/kreijack/xlibinput_calibrator";
40     changelog = "https://github.com/kreijack/xlibinput_calibrator/blob/${src.rev}/Changelog";
41     license = with licenses; [ mit ];
42     maintainers = with maintainers; [ atemu ];
43   };