From 462aa0d282224913c62497541c6d2ef43fcb14a7 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Mon, 15 Apr 2024 14:53:36 +0200 Subject: [PATCH] libvibrant: 2100c09 -> 1.1.1 Signed-off-by: Sefa Eyeoglu --- pkgs/by-name/li/libvibrant/package.nix | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/li/libvibrant/package.nix b/pkgs/by-name/li/libvibrant/package.nix index 905ad34d29ea..0ff4546499b7 100644 --- a/pkgs/by-name/li/libvibrant/package.nix +++ b/pkgs/by-name/li/libvibrant/package.nix @@ -2,31 +2,38 @@ , stdenv , fetchFromGitHub , cmake -, makeWrapper , libX11 , libXrandr , linuxPackages }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "libvibrant"; - version = "2100c09"; + version = "1.1.1"; src = fetchFromGitHub { owner = "libvibrant"; repo = "libvibrant"; - rev = version; - hash = "sha256-nVODwP/PQgYBTHnSplgrkdNOLsF7N+vZ8iPL7gArVNY="; + rev = finalAttrs.version; + hash = "sha256-APja211+U0WVuCRz8f3VIAQLF4oPhh0CJ3Y5EgSJnh0="; }; - buildInputs = [ libX11 libXrandr linuxPackages.nvidia_x11.settings.libXNVCtrl ]; - nativeBuildInputs = [ cmake makeWrapper ]; + 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.mit; + license = licenses.gpl3Plus; platforms = platforms.linux; + maintainers = with maintainers; [ Scrumplex ]; mainProgram = "vibrant-cli"; }; -} +})