3
0
Fork 0
forked from mirrors/nixpkgs

certigo: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 04:41:00 -05:00
parent 86d19c4e32
commit 9fe9b59757
2 changed files with 6 additions and 2 deletions

View file

@ -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";

View file

@ -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;