mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
hydroxide: fix build on darwin
This commit is contained in:
parent
73cb29e6d9
commit
68705eee2e
2 changed files with 7 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue