aws-okta: fix build on darwin

This commit is contained in:
Shahrukh Khan 2019-12-13 01:28:26 +05:00
parent 768943000f
commit a0d608f259

View File

@ -1,4 +1,4 @@
{ buildGoPackage, fetchFromGitHub, libusb1, pkgconfig, stdenv }:
{ buildGoPackage, fetchFromGitHub, libusb1, pkgconfig, stdenv, libiconv }:
buildGoPackage rec {
pname = "aws-okta";
@ -18,14 +18,13 @@ buildGoPackage rec {
buildFlags = "--tags release";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb1 ];
buildInputs = [ libusb1 libiconv ];
meta = with stdenv.lib; {
inherit version;
description = "aws-vault like tool for Okta authentication";
license = licenses.mit;
maintainers = [maintainers.imalsogreg];
broken = stdenv.isDarwin; # test with CoreFoundation 10.11
platforms = platforms.all;
homepage = https://github.com/segmentio/aws-okta;
downloadPage = "https://github.com/segmentio/aws-okta";