hydroxide: fix build on darwin
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user