2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, qmake, libXxf86vm, wrapQtAppsHook }:
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "gammy";
|
2020-10-27 00:29:36 +00:00
|
|
|
version = "0.9.59";
|
2020-07-18 16:06:22 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit pname version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Fushko";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-10-27 00:29:36 +00:00
|
|
|
sha256 = "1iz41larqr6ss5kar1pds6zgcrch6ch34cr0ngd71gcaxal0rb72";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake wrapQtAppsHook ];
|
|
|
|
|
|
|
|
buildInputs = [ libXxf86vm ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-07-18 16:06:22 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|