2020-07-12 22:33:22 +00:00
|
|
|
{ stdenv, fetchFromGitHub, qmake, libXxf86vm, wrapQtAppsHook }:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "gammy";
|
2020-10-04 13:47:37 +00:00
|
|
|
version = "0.9.58a";
|
2020-07-12 22:33:22 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit pname version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Fushko";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-10-04 13:47:37 +00:00
|
|
|
sha256 = "02kwfzh7h2dbsfb6b3qlsc7zga1hq21qvg45wf22vm03mahc28za";
|
2020-07-12 22:33:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|