diff options
author | Periklis Tsirakidis <periklis.tsirakidis@holidaycheck.com> | 2019-02-07 18:23:39 +0100 |
---|---|---|
committer | Periklis Tsirakidis <periklis.tsirakidis@holidaycheck.com> | 2019-02-08 15:54:11 +0100 |
commit | e7388fedc46cd4765aef886e6040dd9f0df1aa8c (patch) | |
tree | 0317bb9cfc92f921b7d8ab7c9e3c3e38580e4d29 /pkgs | |
parent | fec445d9ba55508754355f0e46d5e7907d1dd4f1 (diff) |
lguf-brightness: Init at unstable-2018-02-07
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/misc/lguf-brightness/default.nix | 30 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/misc/lguf-brightness/default.nix b/pkgs/misc/lguf-brightness/default.nix new file mode 100644 index 000000000000..180aa9cbe766 --- /dev/null +++ b/pkgs/misc/lguf-brightness/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a0e3075b8d0f..e18a2f862a70 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22474,6 +22474,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 { |