lol

xinput_calibrator: switch to fetchFromGitHub

+7 -4
+7 -4
pkgs/tools/X11/xinput_calibrator/default.nix
··· 1 - { lib, stdenv, fetchurl, libXi, xorgproto, autoconf, automake, libtool, m4, xlibsWrapper, pkg-config }: 1 + { lib, stdenv, fetchFromGitHub, libXi, xorgproto, autoconf, automake, libtool, m4, xlibsWrapper, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "xinput_calibrator"; 5 5 version = "0.7.5"; 6 - src = fetchurl { 7 - url = "https://github.com/tias/${pname}/archive/v${version}.tar.gz"; 8 - sha256 = "d8edbf84523d60f52311d086a1e3ad0f3536f448360063dd8029bf6290aa65e9"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "tias"; 9 + repo = "xinput_calibrator"; 10 + rev = "v${version}"; 11 + sha256 = "5ZkNw+CKNUcPt1PY5PLzB/OT2wcf5n3UcaQlmMcwRVE="; 9 12 }; 10 13 11 14 preConfigure = "./autogen.sh --with-gui=X11";