depot/third_party/nixpkgs/pkgs/tools/security/aws-okta/default.nix
Default email 48d4c8cc3c Project import generated by Copybara.
GitOrigin-RevId: 6ef4f522d63f22b40004319778761040d3197390
2021-08-08 17:34:03 -06:00

30 lines
812 B
Nix

{ buildGoPackage, fetchFromGitHub, libusb1, pkg-config, lib, libiconv }:
buildGoPackage rec {
pname = "aws-okta";
version = "1.0.11";
goPackagePath = "github.com/segmentio/aws-okta";
src = fetchFromGitHub {
owner = "segmentio";
repo = "aws-okta";
rev = "v${version}";
sha256 = "sha256-1cprKpIFgM3+lUEHNvda34nJTH4Ch3LtTRq/Dp6QBQ8=";
};
tags = [ "release" ];
ldflags = [ "-X main.Version=${version}" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libusb1 libiconv ];
meta = with lib; {
description = "aws-vault like tool for Okta authentication";
license = licenses.mit;
maintainers = with maintainers; [imalsogreg Chili-Man];
homepage = "https://github.com/segmentio/aws-okta";
downloadPage = "https://github.com/segmentio/aws-okta";
};
}