apkeep: fix darwin build
This commit is contained in:
parent
541a551109
commit
c04d246eec
2 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, fetchCrate, rustPlatform, openssl, pkg-config }:
|
||||
{ lib, stdenv, fetchCrate, rustPlatform, openssl, pkg-config, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "apkeep";
|
||||
|
@ -12,7 +12,8 @@ rustPlatform.buildRustPackage rec {
|
|||
cargoSha256 = "sha256-YFs2AOMGp0WNrceK14AnigZdJl+UsQdUchpxaI7HSXw=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A command-line tool for downloading APK files from various sources";
|
||||
|
|
|
@ -23812,7 +23812,9 @@ with pkgs;
|
|||
|
||||
apache-directory-studio = callPackage ../applications/networking/apache-directory-studio {};
|
||||
|
||||
apkeep = callPackage ../tools/misc/apkeep { };
|
||||
apkeep = callPackage ../tools/misc/apkeep {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
apngasm = callPackage ../applications/graphics/apngasm {};
|
||||
apngasm_2 = callPackage ../applications/graphics/apngasm/2.nix {};
|
||||
|
|
Loading…
Reference in a new issue