btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / li / libvibrant / package.nix
blob905ad34d29ea3999ac8b63f85e088bd5f355ba8a
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , cmake
5 , makeWrapper
6 , libX11
7 , libXrandr
8 , linuxPackages
9 }:
11 stdenv.mkDerivation rec {
12   pname = "libvibrant";
13   version = "2100c09";
15   src = fetchFromGitHub {
16     owner = "libvibrant";
17     repo = "libvibrant";
18     rev = version;
19     hash = "sha256-nVODwP/PQgYBTHnSplgrkdNOLsF7N+vZ8iPL7gArVNY=";
20   };
22   buildInputs = [ libX11 libXrandr linuxPackages.nvidia_x11.settings.libXNVCtrl ];
23   nativeBuildInputs = [ cmake makeWrapper ];
25   meta = with lib; {
26     description = "Simple library to adjust color saturation of X11 outputs";
27     homepage = "https://github.com/libvibrant/libvibrant";
28     license = licenses.mit;
29     platforms = platforms.linux;
30     mainProgram = "vibrant-cli";
31   };