nixpkgs/pkgs/tools/misc/gammy/default.nix
2020-10-18 08:43:57 +00:00

30 lines
690 B
Nix

{ stdenv, fetchFromGitHub, qmake, libXxf86vm, wrapQtAppsHook }:
let
pname = "gammy";
version = "0.9.59";
in
stdenv.mkDerivation {
inherit pname version;
src = fetchFromGitHub {
owner = "Fushko";
repo = pname;
rev = "v${version}";
sha256 = "1iz41larqr6ss5kar1pds6zgcrch6ch34cr0ngd71gcaxal0rb72";
};
nativeBuildInputs = [ qmake wrapQtAppsHook ];
buildInputs = [ libXxf86vm ];
meta = with stdenv.lib; {
description = "GUI tool for manual- of auto-adjusting of brightness/temperature";
homepage = "https://github.com/Fushko/gammy";
license = licenses.gpl3;
maintainers = with maintainers; [ atemu ];
platforms = platforms.linux;
};
}