Files
nixpkgs/pkgs/by-name/li/libvibrant/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

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