mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
Merge pull request #59790 from vaibhavsagar/bump-aws-okta
aws-okta: 0.19.0 -> 0.20.1
This commit is contained in:
commit
9bf85fc595
|
@ -1,8 +1,8 @@
|
|||
{ buildGoPackage, fetchFromGitHub, stdenv }:
|
||||
{ buildGoPackage, fetchFromGitHub, libusb1, pkgconfig, stdenv }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "aws-okta-${version}";
|
||||
version = "0.19.0";
|
||||
version = "0.20.1";
|
||||
|
||||
goPackagePath = "github.com/segmentio/aws-okta";
|
||||
|
||||
|
@ -10,11 +10,16 @@ buildGoPackage rec {
|
|||
owner = "segmentio";
|
||||
repo = "aws-okta";
|
||||
rev = "v${version}";
|
||||
sha256 = "1c9mn492yva7cdsx2b0n8g2fdl9660v3xma0v82jzb0c9y9rq0ms";
|
||||
sha256 = "084lb9rp04vbpzmvsb2l92a4gp7c8g28x4xsagzwkqqpwi3fd15d";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
buildFlags = "--tags release";
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libusb1 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
description = "aws-vault like tool for Okta authentication";
|
||||
|
|
29
pkgs/tools/security/aws-okta/deps.nix
generated
Normal file
29
pkgs/tools/security/aws-okta/deps.nix
generated
Normal file
|
@ -0,0 +1,29 @@
|
|||
[
|
||||
{
|
||||
goPackagePath = "github.com/sirupsen/logrus";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/sirupsen/logrus.git";
|
||||
rev = "a437dfd2463eaedbec3dfe443e477d3b0a810b3f";
|
||||
sha256 = "1904s2bbc7p88anzjp6fyj3jrbm5p6wbb8j4490674dq10kkcfbj";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/sys/unix";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/golang/sys.git";
|
||||
rev = "b699b7032584f0953262cb2788a0ca19bb494703";
|
||||
sha256 = "172sw1bm581qwal9pbf9qj1sgivr74nabbj8qq4q4fhgpzams9ix";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/marshallbrekka/go-u2fhost";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/marshallbrekka/go-u2fhost";
|
||||
rev = "72b0e7a3f583583996b3b382d2dfaa81fdc4b82c";
|
||||
sha256 = "0apzmf0bjpr58ynw55agyjsl74zyg5qjk19nyyy4zhip3s9b1d0h";
|
||||
};
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue