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

33 lines
847 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-01-04 20:06:07 +01:00
version = "0.26.3";
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-01-04 20:06:07 +01:00
sha256 = "0n6xm3yv0lxfapchzfrqi05hk918n4lh1hcp7gq7hybam93rld96";
2018-08-09 16:25:04 +02:00
};
2019-04-17 21:42:21 +02:00
goDeps = ./deps.nix;
buildFlags = [ "--tags" "release" ];
2018-08-09 16:25:04 +02:00
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;
maintainers = [maintainers.imalsogreg];
platforms = platforms.all;
homepage = https://github.com/segmentio/aws-okta;
downloadPage = "https://github.com/segmentio/aws-okta";
};
}