vibrantlinux: 2.1.10 -> 2.2.0

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

+24 -30
+24 -30
pkgs/by-name/vi/vibrantlinux/package.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 - , qt5 5 - , makeWrapper 6 , libvibrant 7 - , libX11 8 , libXrandr 9 - , libxcb 10 - , linuxPackages 11 }: 12 13 - stdenv.mkDerivation rec { 14 pname = "vibrantLinux"; 15 - version = "2.1.10"; 16 17 src = fetchFromGitHub { 18 owner = "libvibrant"; 19 repo = "vibrantLinux"; 20 - rev = "v${version}"; 21 - hash = "sha256-rvJiVId6221hTrfEIvVO9HTMhaZ6KY44Bu3a5MinPHI="; 22 }; 23 24 nativeBuildInputs = [ 25 - makeWrapper 26 - ] ++ (with qt5; [ 27 - qmake 28 - wrapQtAppsHook 29 - ]); 30 31 buildInputs = [ 32 - libX11 33 - libXrandr 34 - libxcb 35 libvibrant 36 - linuxPackages.nvidia_x11.settings.libXNVCtrl 37 - ] ++ (with qt5; [ 38 - qtbase 39 - qttools 40 - ]); 41 - 42 - postPatch = '' 43 - substituteInPlace vibrantLinux.pro \ 44 - --replace '$$(PREFIX)' '$$PREFIX' 45 - ''; 46 47 meta = with lib; { 48 description = "Tool to automate managing your screen's saturation depending on what programs are running"; 49 homepage = "https://github.com/libvibrant/vibrantLinux"; 50 - license = licenses.mit; 51 - maintainers = with maintainers; [ unclamped ]; 52 platforms = platforms.linux; 53 mainProgram = "vibrantLinux"; 54 }; 55 - }
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 + , cmake 5 , libvibrant 6 + , libxcb 7 , libXrandr 8 + , pkg-config 9 + , qt6 10 + , 11 }: 12 13 + stdenv.mkDerivation (finalAttrs: { 14 pname = "vibrantLinux"; 15 + version = "2.2.0"; 16 17 src = fetchFromGitHub { 18 owner = "libvibrant"; 19 repo = "vibrantLinux"; 20 + rev = "v${finalAttrs.version}"; 21 + hash = "sha256-GsGWQ6Os8GQ1XbRKrlTOpwPvwyfT/6ftjlt+fJ/YiK8="; 22 }; 23 24 nativeBuildInputs = [ 25 + cmake 26 + pkg-config 27 + qt6.wrapQtAppsHook 28 + ]; 29 30 buildInputs = [ 31 libvibrant 32 + libxcb 33 + libXrandr 34 + qt6.qtbase 35 + qt6.qttools 36 + ]; 37 38 meta = with lib; { 39 description = "Tool to automate managing your screen's saturation depending on what programs are running"; 40 homepage = "https://github.com/libvibrant/vibrantLinux"; 41 + license = licenses.gpl3Plus; 42 + maintainers = with maintainers; [ 43 + Scrumplex 44 + unclamped 45 + ]; 46 platforms = platforms.linux; 47 mainProgram = "vibrantLinux"; 48 }; 49 + })