mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 11:53:51 +00:00
74ed1f82de
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
41 lines
805 B
Nix
41 lines
805 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
libX11,
|
|
libXrandr,
|
|
linuxPackages,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libvibrant";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "libvibrant";
|
|
repo = "libvibrant";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-APja211+U0WVuCRz8f3VIAQLF4oPhh0CJ3Y5EgSJnh0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
libX11
|
|
libXrandr
|
|
linuxPackages.nvidia_x11.settings.libXNVCtrl
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Simple library to adjust color saturation of X11 outputs";
|
|
homepage = "https://github.com/libvibrant/libvibrant";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ Scrumplex ];
|
|
mainProgram = "vibrant-cli";
|
|
};
|
|
})
|