forked from mirrors/nixpkgs
certigo: fix build on darwin
This commit is contained in:
parent
86d19c4e32
commit
9fe9b59757
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "certigo";
|
||||
|
@ -13,6 +13,8 @@ buildGoModule rec {
|
|||
|
||||
modSha256 = "1i5n5yh6nvv2i2nm60vqy1gngj8p5w6ma5fcwmp7bl4jxjrzbi83";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A utility to examine and validate certificates in a variety of formats";
|
||||
homepage = "https://github.com/square/certigo";
|
||||
|
|
|
@ -841,7 +841,9 @@ in
|
|||
|
||||
calls = callPackage ../applications/networking/calls { };
|
||||
|
||||
certigo = callPackage ../tools/admin/certigo { };
|
||||
certigo = callPackage ../tools/admin/certigo {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
chezmoi = callPackage ../tools/misc/chezmoi {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
|
|
Loading…
Reference in a new issue