summary refs log tree commit diff
path: root/pkgs/tools/X11/xinput_calibrator/default.nix
blob: eda19b7a5bfab3ad2e5e0510f8941d195d839cdb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, libXi, inputproto, autoconf, automake, libtool, m4, xlibsWrapper, pkgconfig }:

stdenv.mkDerivation rec {
  version = "0.7.5";
  name = "xinput_calibrator";
  src = fetchurl {
    url = "https://github.com/tias/${name}/archive/v${version}.tar.gz";
    sha256 = "d8edbf84523d60f52311d086a1e3ad0f3536f448360063dd8029bf6290aa65e9";
  };

  preConfigure = "./autogen.sh --with-gui=X11";

  buildInputs = [ inputproto libXi autoconf automake libtool m4 xlibsWrapper pkgconfig ];

  meta = {
    homepage = https://github.com/tias/xinput_calibrator;
    description = "A generic touchscreen calibration program for X.Org";
    license = stdenv.lib.licenses.mit;
    maintainers = [ stdenv.lib.maintainers.flosse ];
  };
}