cloak: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-09 21:39:34 -08:00
parent ff4de5d922
commit 512e87a0f8
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 2 additions and 6 deletions

View File

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

View File

@ -290,9 +290,7 @@ with pkgs;
stdenv = clangStdenv;
};
cloak = callPackage ../applications/misc/cloak {
inherit (darwin.apple_sdk.frameworks) Security;
};
cloak = callPackage ../applications/misc/cloak { };
cotp = callPackage ../applications/misc/cotp {
inherit (darwin.apple_sdk.frameworks) AppKit;