Skip to content

Instantly share code, notes, and snippets.

@Atemu
Created July 12, 2020 23:01
Show Gist options
  • Save Atemu/49fd496862bbdf3654d809df4006920d to your computer and use it in GitHub Desktop.
Save Atemu/49fd496862bbdf3654d809df4006920d to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> { }, ... }:
pkgs.qt5.callPackage ./gammy.nix { }
{ stdenv, fetchFromGitHub, qmake, libXxf86vm, wrapQtAppsHook, ... }:
stdenv.mkDerivation {
name = "gammy";
src = ./.;
nativeBuildInputs = [ qmake wrapQtAppsHook ];
buildInputs = [ libXxf86vm ];
installPhase = ''
install gammy -Dt $out/bin/
'';
meta = with stdenv.lib; {
description = "A GUI tool for adjusting pixel brightness/temperature automatically or manually.";
homepage = "https://github.com/Fushko/gammy";
license = licenses.gpl3;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment