gotify-cli: fix build on darwin
This commit is contained in:
parent
121bc52a52
commit
33f90726c3
2 changed files with 7 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gotify-cli";
|
||||
|
@ -17,7 +17,9 @@ buildGoModule rec {
|
|||
mv $out/bin/cli $out/bin/gotify
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
license = licenses.mit;
|
||||
homepage = https://github.com/gotify/cli;
|
||||
description = "A command line interface for pushing messages to gotify/server.";
|
||||
|
|
|
@ -1908,7 +1908,9 @@ in
|
|||
|
||||
gosu = callPackage ../tools/misc/gosu { };
|
||||
|
||||
gotify-cli = callPackage ../tools/misc/gotify-cli { };
|
||||
gotify-cli = callPackage ../tools/misc/gotify-cli {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
gping = callPackage ../tools/networking/gping { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue