xrandr-invert-colors: switch to fetchFromGitHub

+8 -5
+8 -5
pkgs/applications/misc/xrandr-invert-colors/default.nix
··· 1 - { fetchurl, lib, stdenv, libXrandr}: 2 3 stdenv.mkDerivation rec { 4 version = "0.02"; 5 - pname = "xrandr-invert-colors"; 6 - src = fetchurl { 7 - url = "https://github.com/zoltanp/xrandr-invert-colors/archive/v${version}.tar.gz"; 8 - sha256 = "sha256-7rIiBV9zbiLzu5RO5legHfGiqUSU2BuwqOc1dX/7ozA="; 9 }; 10 11 buildInputs = [ libXrandr ];
··· 1 + { lib, stdenv, fetchFromGitHub, libXrandr}: 2 3 stdenv.mkDerivation rec { 4 + pname = "xrandr-invert-colors"; 5 version = "0.02"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "zoltanp"; 9 + repo = "xrandr-invert-colors"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-MIbHNJFDQsvjPUbperTKKbHY5GSgItvRyV5OsfpzYT4="; 12 }; 13 14 buildInputs = [ libXrandr ];