2018-12-31 04:40:47 +01:00
|
|
|
{ stdenv, fetchurl, libXi, xorgproto, autoconf, automake, libtool, m4, xlibsWrapper, pkgconfig }:
|
2014-08-24 22:16:24 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-05-28 14:59:57 +02:00
|
|
|
pname = "xinput_calibrator";
|
2014-08-24 22:16:24 +02:00
|
|
|
version = "0.7.5";
|
|
|
|
src = fetchurl {
|
2018-05-28 14:59:57 +02:00
|
|
|
url = "https://github.com/tias/${pname}/archive/v${version}.tar.gz";
|
2014-08-24 22:16:24 +02:00
|
|
|
sha256 = "d8edbf84523d60f52311d086a1e3ad0f3536f448360063dd8029bf6290aa65e9";
|
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = "./autogen.sh --with-gui=X11";
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-12-31 04:40:47 +01:00
|
|
|
buildInputs = [ xorgproto libXi autoconf automake libtool m4 xlibsWrapper ];
|
2014-08-24 22:16:24 +02:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/tias/xinput_calibrator";
|
2014-08-24 22:16:24 +02:00
|
|
|
description = "A generic touchscreen calibration program for X.Org";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.flosse ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-08-24 22:16:24 +02:00
|
|
|
};
|
|
|
|
}
|