depot/third_party/nixpkgs/pkgs/by-name/li/libvibrant/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

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";
};
}