Merge pull request #126281 from figsoda/freshfetch
freshfetch: fix darwin build
This commit is contained in:
commit
909d9dc5fb
@ -1,4 +1,14 @@
|
||||
{ fetchFromGitHub, fetchurl, lib, rustPlatform }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, rustPlatform
|
||||
, AppKit
|
||||
, CoreFoundation
|
||||
, DiskArbitration
|
||||
, Foundation
|
||||
, IOKit
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "freshfetch";
|
||||
@ -22,6 +32,14 @@ rustPlatform.buildRustPackage rec {
|
||||
# freshfetch depends on rust nightly features
|
||||
RUSTC_BOOTSTRAP = 1;
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
AppKit
|
||||
CoreFoundation
|
||||
DiskArbitration
|
||||
Foundation
|
||||
IOKit
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A fresh take on neofetch";
|
||||
homepage = "https://github.com/k4rakara/freshfetch";
|
||||
|
@ -4855,7 +4855,9 @@ in
|
||||
|
||||
frescobaldi = python3Packages.callPackage ../misc/frescobaldi {};
|
||||
|
||||
freshfetch = callPackage ../tools/misc/freshfetch { };
|
||||
freshfetch = callPackage ../tools/misc/freshfetch {
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit CoreFoundation DiskArbitration Foundation IOKit;
|
||||
};
|
||||
|
||||
frostwire = callPackage ../applications/networking/p2p/frostwire { };
|
||||
frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user