tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
xinput_calibrator: switch to fetchFromGitHub
Felix Buehler
4 years ago
a58c4b60
54ecf6b4
+7
-4
1 changed file
expand all
collapse all
unified
split
pkgs
tools
X11
xinput_calibrator
default.nix
+7
-4
pkgs/tools/X11/xinput_calibrator/default.nix
···
1
1
-
{ lib, stdenv, fetchurl, libXi, xorgproto, autoconf, automake, libtool, m4, xlibsWrapper, pkg-config }:
1
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
6
-
src = fetchurl {
7
7
-
url = "https://github.com/tias/${pname}/archive/v${version}.tar.gz";
8
8
-
sha256 = "d8edbf84523d60f52311d086a1e3ad0f3536f448360063dd8029bf6290aa65e9";
6
6
+
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "tias";
9
9
+
repo = "xinput_calibrator";
10
10
+
rev = "v${version}";
11
11
+
sha256 = "5ZkNw+CKNUcPt1PY5PLzB/OT2wcf5n3UcaQlmMcwRVE=";
9
12
};
10
13
11
14
preConfigure = "./autogen.sh --with-gui=X11";