bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
32 lines
726 B
Nix
32 lines
726 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, makeWrapper
|
|
, libX11
|
|
, libXrandr
|
|
, linuxPackages
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libvibrant";
|
|
version = "2100c09";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "libvibrant";
|
|
repo = "libvibrant";
|
|
rev = version;
|
|
hash = "sha256-nVODwP/PQgYBTHnSplgrkdNOLsF7N+vZ8iPL7gArVNY=";
|
|
};
|
|
|
|
buildInputs = [ libX11 libXrandr linuxPackages.nvidia_x11.settings.libXNVCtrl ];
|
|
nativeBuildInputs = [ cmake makeWrapper ];
|
|
|
|
meta = with lib; {
|
|
description = "Simple library to adjust color saturation of X11 outputs";
|
|
homepage = "https://github.com/libvibrant/libvibrant";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
mainProgram = "vibrant-cli";
|
|
};
|
|
}
|