Skip to content

Commit

Permalink
libvibrant: init at 2100c09
Browse files Browse the repository at this point in the history
  • Loading branch information
unclamped committed Dec 8, 2023
1 parent c495228 commit 0906f09
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/by-name/li/libvibrant/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ 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 = "A simple library to adjust color saturation of X11 outputs";
homepage = "https://github.com/libvibrant/libvibrant";
license = licenses.mit;
platforms = platforms.linux;
mainProgram = "vibrant-cli";
};
}

0 comments on commit 0906f09

Please sign in to comment.