nixpkgs/pkgs/tools/misc/gammy/default.nix

30 lines
687 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, qmake, libXxf86vm, wrapQtAppsHook }:
2020-07-12 23:33:22 +01:00
let
pname = "gammy";
2021-01-18 20:57:33 +00:00
version = "0.9.62";
2020-07-12 23:33:22 +01:00
in
stdenv.mkDerivation {
inherit pname version;
src = fetchFromGitHub {
owner = "Fushko";
repo = pname;
rev = "v${version}";
2021-01-18 20:57:33 +00:00
sha256 = "sha256-fyr+khLgaX5xbKCW3pqt6fFvZBHGEVs1BsMireZDxP0=";
2020-07-12 23:33:22 +01:00
};
nativeBuildInputs = [ qmake wrapQtAppsHook ];
buildInputs = [ libXxf86vm ];
meta = with lib; {
2020-07-12 23:33:22 +01: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;
};
}