2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, qmake, libXxf86vm, wrapQtAppsHook }:
|
2020-07-13 00:33:22 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "gammy";
|
2021-02-28 13:29:14 +01:00
|
|
|
version = "0.9.64";
|
2020-07-13 00:33:22 +02:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit pname version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Fushko";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-28 13:29:14 +01:00
|
|
|
sha256 = "sha256-NPvkT7jSbDjcZDHpMIOik9fNsz7OJXQ3g9OFxkpA3pk=";
|
2020-07-13 00:33:22 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake wrapQtAppsHook ];
|
|
|
|
|
|
|
|
buildInputs = [ libXxf86vm ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-07-13 00:33:22 +02: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;
|
|
|
|
};
|
|
|
|
}
|