freshfetch: fix darwin build
This commit is contained in:
parent
e075fef89f
commit
2640519d63
|
@ -1,4 +1,14 @@
|
||||||
{ fetchFromGitHub, fetchurl, lib, rustPlatform }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchurl
|
||||||
|
, rustPlatform
|
||||||
|
, AppKit
|
||||||
|
, CoreFoundation
|
||||||
|
, DiskArbitration
|
||||||
|
, Foundation
|
||||||
|
, IOKit
|
||||||
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "freshfetch";
|
pname = "freshfetch";
|
||||||
|
@ -22,6 +32,14 @@ rustPlatform.buildRustPackage rec {
|
||||||
# freshfetch depends on rust nightly features
|
# freshfetch depends on rust nightly features
|
||||||
RUSTC_BOOTSTRAP = 1;
|
RUSTC_BOOTSTRAP = 1;
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
|
AppKit
|
||||||
|
CoreFoundation
|
||||||
|
DiskArbitration
|
||||||
|
Foundation
|
||||||
|
IOKit
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A fresh take on neofetch";
|
description = "A fresh take on neofetch";
|
||||||
homepage = "https://github.com/k4rakara/freshfetch";
|
homepage = "https://github.com/k4rakara/freshfetch";
|
||||||
|
|
|
@ -4841,7 +4841,9 @@ in
|
||||||
|
|
||||||
frescobaldi = python3Packages.callPackage ../misc/frescobaldi {};
|
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 = callPackage ../applications/networking/p2p/frostwire { };
|
||||||
frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { };
|
frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { };
|
||||||
|
|
Loading…
Reference in a new issue