nixpkgs/pkgs/by-name/li/libvibrant/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

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