mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
xinput_calibrator: switch to fetchFromGitHub
This commit is contained in:
parent
54ecf6b486
commit
a58c4b60ca
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue