Merge pull request #55406 from periklis/lguf-brightness
lguf-brightness: Init at 2018-02-07
This commit is contained in:
commit
ffc604e557
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, libusb1, ncurses5 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lguf-brightness";
|
||||
|
||||
version = "unstable-2018-02-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "periklis";
|
||||
repo = pname;
|
||||
rev = "d194272b7a0374b27f036cbc1a9be7f231d40cbb";
|
||||
sha256 = "0zj81bqchms9m7rik1jxp6zylh9dxqzr7krlj9947v0phr4qgah4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ libusb1 ncurses5 ];
|
||||
|
||||
installPhase = ''
|
||||
install -D lguf_brightness $out/bin/lguf_brightness
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Adjust brightness for LG UltraFine 4K display (cross platform)";
|
||||
homepage = https://github.com/periklis/lguf-brightness;
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ periklis ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
|
@ -22482,6 +22482,8 @@ in
|
|||
|
||||
kops = callPackage ../applications/networking/cluster/kops { };
|
||||
|
||||
lguf-brightness = callPackage ../misc/lguf-brightness { };
|
||||
|
||||
lilypond = callPackage ../misc/lilypond { guile = guile_1_8; };
|
||||
lilypond-unstable = callPackage ../misc/lilypond/unstable.nix { };
|
||||
lilypond-with-fonts = callPackage ../misc/lilypond/with-fonts.nix {
|
||||
|
|
Loading…
Reference in New Issue