git-credential-keepassxc: use new Darwin SDK pattern
This commit is contained in:
parent
1641c8d303
commit
15e42a222f
@ -1,9 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, DiskArbitration
|
|
||||||
, Foundation
|
|
||||||
, withNotification ? false
|
, withNotification ? false
|
||||||
, withYubikey ? false
|
, withYubikey ? false
|
||||||
, withStrictCaller ? false
|
, withStrictCaller ? false
|
||||||
@ -23,8 +20,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoHash = "sha256-jBUp0jes4wtr8cmqceEBb6noqGkJUHbIfYgWOw5KMF4=";
|
cargoHash = "sha256-jBUp0jes4wtr8cmqceEBb6noqGkJUHbIfYgWOw5KMF4=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ DiskArbitration Foundation ];
|
|
||||||
|
|
||||||
buildFeatures = []
|
buildFeatures = []
|
||||||
++ lib.optional withNotification "notification"
|
++ lib.optional withNotification "notification"
|
||||||
++ lib.optional withYubikey "yubikey"
|
++ lib.optional withYubikey "yubikey"
|
||||||
|
@ -1231,9 +1231,7 @@ with pkgs;
|
|||||||
|
|
||||||
git-cliff = callPackage ../applications/version-management/git-cliff { };
|
git-cliff = callPackage ../applications/version-management/git-cliff { };
|
||||||
|
|
||||||
git-credential-keepassxc = darwin.apple_sdk_11_0.callPackage ../applications/version-management/git-credential-keepassxc {
|
git-credential-keepassxc = callPackage ../applications/version-management/git-credential-keepassxc { };
|
||||||
inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation;
|
|
||||||
};
|
|
||||||
|
|
||||||
git-credential-manager = callPackage ../applications/version-management/git-credential-manager { };
|
git-credential-manager = callPackage ../applications/version-management/git-credential-manager { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user