1 { lib, stdenv, fetchFromGitHub, libXrandr}:
3 stdenv.mkDerivation rec {
4 pname = "xrandr-invert-colors";
7 src = fetchFromGitHub {
9 repo = "xrandr-invert-colors";
11 sha256 = "sha256-MIbHNJFDQsvjPUbperTKKbHY5GSgItvRyV5OsfpzYT4=";
14 buildInputs = [ libXrandr ];
18 mv xrandr-invert-colors.bin xrandr-invert-colors
19 install xrandr-invert-colors $out/bin
23 description = "Inverts the colors of your screen";
24 license = lib.licenses.gpl3Plus;
25 homepage = "https://github.com/zoltanp/xrandr-invert-colors";
26 maintainers = [lib.maintainers.magnetophon ];
27 platforms = platforms.linux;
28 mainProgram = "xrandr-invert-colors";