1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/tools/X11/xinput_calibrator/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

24 lines
807 B
Nix

{ 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";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ inputproto libXi autoconf automake libtool m4 xlibsWrapper ];
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 ];
platforms = stdenv.lib.platforms.linux;
};
}