diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/freshfetch/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/freshfetch/default.nix | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/tools/misc/freshfetch/default.nix b/nixpkgs/pkgs/tools/misc/freshfetch/default.nix index 7ed334360358..b9d671f224e2 100644 --- a/nixpkgs/pkgs/tools/misc/freshfetch/default.nix +++ b/nixpkgs/pkgs/tools/misc/freshfetch/default.nix @@ -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"; |