gortr: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:07:00 -05:00
parent a8c36060b7
commit cb8f82b836
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildGoModule }:
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
buildGoModule rec {
pname = "gortr";
@ -12,7 +12,9 @@ buildGoModule rec {
};
modSha256 = "157dpalfz3z1s3mxq63xy6lrkwzyy9xzmvn7wsxkwznjq4djv1a1";
meta = with lib; {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "The RPKI-to-Router server used at Cloudflare";
homepage = "https://github.com/cloudflare/gortr/";
license = licenses.gpl3;

View File

@ -26339,7 +26339,9 @@ in
sieveshell = with python3.pkgs; toPythonApplication managesieve;
gortr = callPackage ../servers/gortr {};
gortr = callPackage ../servers/gortr {
inherit (darwin.apple_sdk.frameworks) Security;
};
sentencepiece = callPackage ../development/libraries/sentencepiece {};