age: fix build on darwin
This commit is contained in:
parent
bfb747aacf
commit
7db5054023
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "age";
|
||||
|
@ -18,7 +18,9 @@ buildGoModule rec {
|
|||
sha256 = "1n1ww8yjw0mg00dvnfmggww9kwp1hls0a85iv6vx9k89mzv8mdrq";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://age-encryption.org/";
|
||||
description = "Modern encryption tool with small explicit keys";
|
||||
license = licenses.bsd3;
|
||||
|
|
|
@ -2614,7 +2614,9 @@ in
|
|||
caps2esc = callPackage ../tools/inputmethods/interception-tools/caps2esc.nix { };
|
||||
};
|
||||
|
||||
age = callPackage ../tools/security/age { };
|
||||
age = callPackage ../tools/security/age {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
brotli = callPackage ../tools/compression/brotli { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue