xrandr-invert-colors: switch to fetchFromGitHub
This commit is contained in:
parent
e578d45c10
commit
a20eefdccd
1 changed files with 8 additions and 5 deletions
|
@ -1,11 +1,14 @@
|
||||||
{ fetchurl, lib, stdenv, libXrandr}:
|
{ lib, stdenv, fetchFromGitHub, libXrandr}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.02";
|
|
||||||
pname = "xrandr-invert-colors";
|
pname = "xrandr-invert-colors";
|
||||||
src = fetchurl {
|
version = "0.02";
|
||||||
url = "https://github.com/zoltanp/xrandr-invert-colors/archive/v${version}.tar.gz";
|
|
||||||
sha256 = "sha256-7rIiBV9zbiLzu5RO5legHfGiqUSU2BuwqOc1dX/7ozA=";
|
src = fetchFromGitHub {
|
||||||
|
owner = "zoltanp";
|
||||||
|
repo = "xrandr-invert-colors";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-MIbHNJFDQsvjPUbperTKKbHY5GSgItvRyV5OsfpzYT4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libXrandr ];
|
buildInputs = [ libXrandr ];
|
||||||
|
|
Loading…
Reference in a new issue