gammy: init at 0.9.58

This commit is contained in:
Atemu 2020-07-13 00:33:22 +02:00 committed by Jan Tojnar
parent be4f99d16b
commit 5b2db9151c
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ stdenv, fetchFromGitHub, qmake, libXxf86vm, wrapQtAppsHook }:
let
pname = "gammy";
version = "0.9.58";
in
stdenv.mkDerivation {
inherit pname version;
src = fetchFromGitHub {
owner = "Fushko";
repo = pname;
rev = "v${version}";
sha256 = "02f19b7acrzip4kbfjgqk06xv1c257rq77khpdg5gz0ai6ayvwm8";
};
nativeBuildInputs = [ qmake wrapQtAppsHook ];
buildInputs = [ libXxf86vm ];
# FIXME remove when https://github.com/Fushko/gammy/issues/45 is fixed
installPhase = ''
runHook preInstall
install gammy -Dt $out/bin/
runHook postInstall
'';
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;
};
}

View File

@ -992,6 +992,8 @@ in
gamecube-tools = callPackage ../development/tools/gamecube-tools { };
gammy = qt5.callPackage ../tools/misc/gammy { };
gams = callPackage ../tools/misc/gams (config.gams or {});
git-fire = callPackage ../tools/misc/git-fire { };