forked from mirrors/nixpkgs
gortr: fix build on darwin
This commit is contained in:
parent
a8c36060b7
commit
cb8f82b836
|
@ -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;
|
||||
|
|
|
@ -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 {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue