depot/third_party/nixpkgs/pkgs/tools/security/aws-okta/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

31 lines
871 B
Nix

{ buildGoPackage, fetchFromGitHub, libusb1, pkgconfig, lib, stdenv, libiconv }:
buildGoPackage rec {
pname = "aws-okta";
version = "1.0.8";
goPackagePath = "github.com/segmentio/aws-okta";
src = fetchFromGitHub {
owner = "segmentio";
repo = "aws-okta";
rev = "v${version}";
sha256 = "14bg9rdfxkpw00phc8faz4ghiyb0j7a9qai74lidrzplzl139bzf";
};
buildFlags = [ "--tags" "release" ];
buildFlagsArray = [ "-ldflags=-X main.Version=${version}" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb1 libiconv ];
meta = with lib; {
inherit version;
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";
};
}