mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
cloak: use new Darwin SDK pattern
This commit is contained in:
parent
ff4de5d922
commit
512e87a0f8
@ -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";
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user