amber-secret: migrate to pkgs/by-name

This commit is contained in:
Fabian Affolter
2025-01-10 12:25:58 +01:00
parent c543543901
commit 44086f2d8c
2 changed files with 3 additions and 7 deletions
@@ -1,9 +1,9 @@
{
lib,
stdenv,
rustPlatform,
darwin,
fetchFromGitHub,
Security,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
@@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-DxTsbJ51TUMvc/NvsUYhRG9OxxEGrWfEPYCOYaG9PXo=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ];
meta = {
description = "Manage secret values in-repo via public key cryptography";
-4
View File
@@ -1582,10 +1582,6 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
amber-secret = callPackage ../tools/security/amber {
inherit (darwin.apple_sdk.frameworks) Security;
};
inherit (callPackages ../development/tools/ammonite {})
ammonite_2_12
ammonite_2_13