nixpkgs/pkgs/by-name/li/libvibrant/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
805 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
cmake,
libX11,
libXrandr,
linuxPackages,
2023-12-06 23:36:08 +00:00
}:
stdenv.mkDerivation (finalAttrs: {
2023-12-06 23:36:08 +00:00
pname = "libvibrant";
version = "1.1.1";
2023-12-06 23:36:08 +00:00
src = fetchFromGitHub {
owner = "libvibrant";
repo = "libvibrant";
rev = finalAttrs.version;
hash = "sha256-APja211+U0WVuCRz8f3VIAQLF4oPhh0CJ3Y5EgSJnh0=";
2023-12-06 23:36:08 +00:00
};
nativeBuildInputs = [
cmake
];
buildInputs = [
libX11
libXrandr
linuxPackages.nvidia_x11.settings.libXNVCtrl
];
2023-12-06 23:36:08 +00:00
meta = with lib; {
description = "Simple library to adjust color saturation of X11 outputs";
homepage = "https://github.com/libvibrant/libvibrant";
license = licenses.gpl3Plus;
2023-12-06 23:36:08 +00:00
platforms = platforms.linux;
maintainers = with maintainers; [ Scrumplex ];
2023-12-06 23:36:08 +00:00
mainProgram = "vibrant-cli";
};
})