parent
be4f99d16b
commit
5b2db9151c
@ -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; |
||||
}; |
||||
} |
Loading…
Reference in new issue