bitwarden_rs: fix darwin build
This commit is contained in:
parent
a2e69f1b06
commit
1e9ad86cd3
2 changed files with 6 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub, pkgconfig, openssl }:
|
||||
{ stdenv, rustPlatform, fetchFromGitHub, pkgconfig, openssl, Security, CoreServices }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "bitwarden_rs";
|
||||
|
@ -12,13 +12,13 @@ rustPlatform.buildRustPackage rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ Security CoreServices ];
|
||||
|
||||
RUSTC_BOOTSTRAP = 1;
|
||||
|
||||
cargoSha256 = "038l6alcdc0g4avpbzxgd2k09nr3wrsbry763bq2c77qqgwldj8r";
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
description = "An unofficial lightweight implementation of the Bitwarden server API using Rust and SQLite";
|
||||
homepage = https://github.com/dani-garcia/bitwarden_rs;
|
||||
license = licenses.gpl3;
|
||||
|
|
|
@ -674,7 +674,9 @@ in
|
|||
|
||||
bcachefs-tools = callPackage ../tools/filesystems/bcachefs-tools { };
|
||||
|
||||
bitwarden_rs = callPackage ../tools/security/bitwarden_rs { };
|
||||
bitwarden_rs = callPackage ../tools/security/bitwarden_rs {
|
||||
inherit (darwin.apple_sdk.frameworks) Security CoreServices;
|
||||
};
|
||||
|
||||
bitwarden_rs-vault = callPackage ../tools/security/bitwarden_rs/vault.nix { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue