3
0
Fork 0
forked from mirrors/nixpkgs

hydroxide: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:19:00 -05:00
parent 73cb29e6d9
commit 68705eee2e
2 changed files with 7 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
{ stdenv, buildGoModule, fetchFromGitHub, fetchpatch, Security }:
buildGoModule rec {
pname = "hydroxide";
@ -13,6 +13,8 @@ buildGoModule rec {
modSha256 = "0b19rcif8yiyvhrsjd3q5nsvr580lklamlphx4dk47n456ckcqfp";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
# FIXME: remove with next release
patches = [
(fetchpatch {
@ -23,7 +25,7 @@ buildGoModule rec {
subPackages = [ "cmd/hydroxide" ];
meta = with lib; {
meta = with stdenv.lib; {
description = "A third-party, open-source ProtonMail bridge";
homepage = "https://github.com/emersion/hydroxide";
license = licenses.mit;

View file

@ -19876,7 +19876,9 @@ in
hydrogen = callPackage ../applications/audio/hydrogen { };
hydroxide = callPackage ../applications/networking/hydroxide { };
hydroxide = callPackage ../applications/networking/hydroxide {
inherit (darwin.apple_sdk.frameworks) Security;
};
hyper = callPackage ../applications/misc/hyper { };