2019-12-12 20:28:26 +00:00
|
|
|
{ buildGoPackage, fetchFromGitHub, libusb1, pkgconfig, stdenv, libiconv }:
|
2018-09-12 20:56:52 +01:00
|
|
|
|
2018-08-09 15:25:04 +01:00
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "aws-okta";
|
2020-06-23 22:10:22 +01:00
|
|
|
version = "1.0.2";
|
2018-08-09 15:25:04 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/segmentio/aws-okta";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "segmentio";
|
|
|
|
repo = "aws-okta";
|
|
|
|
rev = "v${version}";
|
2020-06-23 22:10:22 +01:00
|
|
|
sha256 = "0rqkbhprz1j9b9bx3wvl5zi4p02q1qza905wkrvh42f9pbknajww";
|
2018-08-09 15:25:04 +01:00
|
|
|
};
|
|
|
|
|
2019-04-17 20:42:21 +01:00
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
buildFlags = [ "--tags" "release" ];
|
2018-08-09 15:25:04 +01:00
|
|
|
|
2019-04-17 20:42:21 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2019-12-12 20:28:26 +00:00
|
|
|
buildInputs = [ libusb1 libiconv ];
|
2019-04-17 20:42:21 +01:00
|
|
|
|
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];
|
|
|
|
platforms = platforms.all;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/segmentio/aws-okta";
|
2018-08-09 15:25:04 +01:00
|
|
|
downloadPage = "https://github.com/segmentio/aws-okta";
|
|
|
|
};
|
|
|
|
}
|