2019-04-17 21:42:21 +02:00
|
|
|
{ buildGoPackage, fetchFromGitHub, libusb1, pkgconfig, stdenv }:
|
2018-09-12 21:56:52 +02:00
|
|
|
|
2018-08-09 16:25:04 +02:00
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "aws-okta";
|
2019-04-17 21:42:21 +02:00
|
|
|
version = "0.20.1";
|
2018-08-09 16:25:04 +02:00
|
|
|
|
|
|
|
goPackagePath = "github.com/segmentio/aws-okta";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "segmentio";
|
|
|
|
repo = "aws-okta";
|
|
|
|
rev = "v${version}";
|
2019-04-17 21:42:21 +02:00
|
|
|
sha256 = "084lb9rp04vbpzmvsb2l92a4gp7c8g28x4xsagzwkqqpwi3fd15d";
|
2018-08-09 16:25:04 +02:00
|
|
|
};
|
|
|
|
|
2019-04-17 21:42:21 +02:00
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2018-08-09 16:25:04 +02:00
|
|
|
buildFlags = "--tags release";
|
|
|
|
|
2019-04-17 21:42:21 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libusb1 ];
|
|
|
|
|
2018-08-09 16:25:04 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit version;
|
|
|
|
description = "aws-vault like tool for Okta authentication";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [maintainers.imalsogreg];
|
2018-09-12 21:56:52 +02:00
|
|
|
broken = stdenv.isDarwin; # test with CoreFoundation 10.11
|
2018-08-09 16:25:04 +02:00
|
|
|
platforms = platforms.all;
|
|
|
|
homepage = https://github.com/segmentio/aws-okta;
|
|
|
|
downloadPage = "https://github.com/segmentio/aws-okta";
|
|
|
|
};
|
|
|
|
}
|