nixpkgs/pkgs/tools/X11/xinput_calibrator/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
794 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, libXi, xorgproto, autoconf, automake, libtool, m4, xlibsWrapper, pkg-config }:
2014-08-24 21:16:24 +01:00
stdenv.mkDerivation rec {
2018-05-28 13:59:57 +01:00
pname = "xinput_calibrator";
2014-08-24 21:16:24 +01:00
version = "0.7.5";
src = fetchFromGitHub {
owner = "tias";
repo = "xinput_calibrator";
rev = "v${version}";
sha256 = "5ZkNw+CKNUcPt1PY5PLzB/OT2wcf5n3UcaQlmMcwRVE=";
2014-08-24 21:16:24 +01:00
};
preConfigure = "./autogen.sh --with-gui=X11";
nativeBuildInputs = [ pkg-config autoconf automake ];
buildInputs = [ xorgproto libXi libtool m4 xlibsWrapper ];
2014-08-24 21:16:24 +01:00
meta = {
homepage = "https://github.com/tias/xinput_calibrator";
2014-08-24 21:16:24 +01:00
description = "A generic touchscreen calibration program for X.Org";
2021-01-15 09:19:50 +00:00
license = lib.licenses.mit;
maintainers = [ lib.maintainers.flosse ];
platforms = lib.platforms.linux;
2014-08-24 21:16:24 +01:00
};
}