Merge pull request #275938 from khaneliman/fastfetch

fastfetch: 2.3.4 -> 2.4.0
This commit is contained in:
Guillaume Girol 2023-12-31 15:58:29 +01:00 committed by GitHub
commit 85acb6c5f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 24 deletions

View File

@ -3,6 +3,7 @@
, fetchFromGitHub
, chafa
, cmake
, darwin
, dbus
, dconf
, ddcutil
@ -27,29 +28,17 @@
, xfce
, yyjson
, zlib
, Apple80211
, AppKit
, Cocoa
, CoreDisplay
, CoreVideo
, CoreWLAN
, DisplayServices
, Foundation
, IOBluetooth
, MediaRemote
, OpenCL
, moltenvk
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fastfetch";
version = "2.3.4";
version = "2.4.0";
src = fetchFromGitHub {
owner = "fastfetch-cli";
repo = "fastfetch";
rev = finalAttrs.version;
hash = "sha256-jZeecymhjbXYE05zRF2dWHBS3hhRm1BmLB906YAlp+A=";
hash = "sha256-LHRbobgBXGjoLQXC+Gy03aNrTyjn1loVMbj0qv3HObQ=";
};
nativeBuildInputs = [
@ -83,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: {
xfce.xfconf
zlib
]
++ lib.optionals stdenv.isDarwin [
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk_11_0.frameworks; [
Apple80211
AppKit
Cocoa
@ -91,12 +80,12 @@ stdenv.mkDerivation (finalAttrs: {
CoreVideo
CoreWLAN
DisplayServices
Foundation
IOBluetooth
MediaRemote
OpenCL
moltenvk
];
SystemConfiguration
darwin.moltenvk
]);
cmakeFlags = [
"-DCMAKE_INSTALL_SYSCONFDIR=${placeholder "out"}/etc"

View File

@ -1804,12 +1804,8 @@ with pkgs;
etlegacy = callPackage ../games/etlegacy { lua = lua5_4; };
fastfetch = darwin.apple_sdk_11_0.callPackage ../tools/misc/fastfetch {
inherit (darwin.apple_sdk_11_0.frameworks)
AppKit Apple80211 Cocoa CoreDisplay CoreVideo CoreWLAN DisplayServices
Foundation IOBluetooth MediaRemote OpenCL;
inherit (darwin) moltenvk;
fastfetch = callPackage ../tools/misc/fastfetch {
stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
};
fscan = callPackage ../tools/security/fscan { };