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

32 lines
873 B
Nix
Raw Normal View History

2019-12-12 21:28:26 +01:00
{ buildGoPackage, fetchFromGitHub, libusb1, pkgconfig, stdenv, libiconv }:
2018-08-09 16:25:04 +02:00
buildGoPackage rec {
pname = "aws-okta";
2020-11-10 22:39:39 +01:00
version = "1.0.8";
2018-08-09 16:25:04 +02:00
goPackagePath = "github.com/segmentio/aws-okta";
src = fetchFromGitHub {
owner = "segmentio";
repo = "aws-okta";
rev = "v${version}";
2020-11-10 22:39:39 +01:00
sha256 = "14bg9rdfxkpw00phc8faz4ghiyb0j7a9qai74lidrzplzl139bzf";
2018-08-09 16:25:04 +02:00
};
buildFlags = [ "--tags" "release" ];
2018-08-09 16:25:04 +02:00
2020-06-23 23:17:07 +02:00
buildFlagsArray = [ "-ldflags=-X main.Version=${version}" ];
2019-04-17 21:42:21 +02:00
nativeBuildInputs = [ pkgconfig ];
2019-12-12 21:28:26 +01:00
buildInputs = [ libusb1 libiconv ];
2019-04-17 21:42:21 +02:00
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;
2020-10-20 04:53:50 +02:00
maintainers = with maintainers; [imalsogreg Chili-Man];
homepage = "https://github.com/segmentio/aws-okta";
2018-08-09 16:25:04 +02:00
downloadPage = "https://github.com/segmentio/aws-okta";
};
}