xinput_calibrator: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-09-19 23:00:55 +02:00
parent 54ecf6b486
commit a58c4b60ca

View File

@ -1,11 +1,14 @@
{ lib, stdenv, fetchurl, libXi, xorgproto, autoconf, automake, libtool, m4, xlibsWrapper, pkg-config }:
{ lib, stdenv, fetchFromGitHub, libXi, xorgproto, autoconf, automake, libtool, m4, xlibsWrapper, pkg-config }:
stdenv.mkDerivation rec {
pname = "xinput_calibrator";
version = "0.7.5";
src = fetchurl {
url = "https://github.com/tias/${pname}/archive/v${version}.tar.gz";
sha256 = "d8edbf84523d60f52311d086a1e3ad0f3536f448360063dd8029bf6290aa65e9";
src = fetchFromGitHub {
owner = "tias";
repo = "xinput_calibrator";
rev = "v${version}";
sha256 = "5ZkNw+CKNUcPt1PY5PLzB/OT2wcf5n3UcaQlmMcwRVE=";
};
preConfigure = "./autogen.sh --with-gui=X11";