Merge pull request #146459 from smancill/zhf-cloak

cloak: fix build on darwin
This commit is contained in:
Domen Kožar
2021-11-18 07:02:35 -06:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
rustPlatform.buildRustPackage rec {
pname = "cloak";
@@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0af38wgwmsamnx63dwfm2nrkd8wmky3ai7zwy0knmifgkn4b7yyj";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; {
homepage = "https://github.com/evansmurithi/cloak";
description = "Command-line OTP authenticator application";

View File

@@ -259,7 +259,9 @@ with pkgs;
clj-kondo = callPackage ../development/tools/clj-kondo { };
cloak = callPackage ../applications/misc/cloak { };
cloak = callPackage ../applications/misc/cloak {
inherit (darwin.apple_sdk.frameworks) Security;
};
cmark = callPackage ../development/libraries/cmark { };