nixpkgs/pkgs/tools/security/aws-okta/default.nix

34 lines
885 B
Nix
Raw Normal View History

2019-04-17 20:42:21 +01:00
{ buildGoPackage, fetchFromGitHub, libusb1, pkgconfig, stdenv }:
2018-08-09 15:25:04 +01:00
buildGoPackage rec {
pname = "aws-okta";
2019-04-17 20:42:21 +01:00
version = "0.20.1";
2018-08-09 15:25:04 +01:00
goPackagePath = "github.com/segmentio/aws-okta";
src = fetchFromGitHub {
owner = "segmentio";
repo = "aws-okta";
rev = "v${version}";
2019-04-17 20:42:21 +01:00
sha256 = "084lb9rp04vbpzmvsb2l92a4gp7c8g28x4xsagzwkqqpwi3fd15d";
2018-08-09 15:25:04 +01:00
};
2019-04-17 20:42:21 +01:00
goDeps = ./deps.nix;
2018-08-09 15:25:04 +01:00
buildFlags = "--tags release";
2019-04-17 20:42:21 +01:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb1 ];
2018-08-09 15:25:04 +01:00
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
2018-08-09 15:25:04 +01:00
platforms = platforms.all;
homepage = https://github.com/segmentio/aws-okta;
downloadPage = "https://github.com/segmentio/aws-okta";
};
}