git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #59790 from vaibhavsagar/bump-aws-okta

aws-okta: 0.19.0 -> 0.20.1

commit9bf85fc595b2dada2da379ac19d8768eb6d6731a authorRenaud <c0bw3b@users.noreply.github.com> dateSun 21 Apr 2019, 18:55 (8 years ago) parent694f07b3e8f206
2 files changed+37−3
pkgs/tools/security/aws-okta/default.nix+8−3 pkgs/tools/security/aws-okta/deps.nix+29
pkgs/tools/security/aws-okta/default.nix+8−3
@@ -1,8 +1,8 @@
1−{ buildGoPackage, fetchFromGitHub, stdenv }:
1+{ buildGoPackage, fetchFromGitHub, libusb1, pkgconfig, stdenv }:
22
33buildGoPackage rec {
44 name = "aws-okta-${version}";
5− version = "0.19.0";
5+ version = "0.20.1";
66
77 goPackagePath = "github.com/segmentio/aws-okta";
88
@@ -10,11 +10,16 @@ buildGoPackage rec {
1010 owner = "segmentio";
1111 repo = "aws-okta";
1212 rev = "v${version}";
13− sha256 = "1c9mn492yva7cdsx2b0n8g2fdl9660v3xma0v82jzb0c9y9rq0ms";
13+ sha256 = "084lb9rp04vbpzmvsb2l92a4gp7c8g28x4xsagzwkqqpwi3fd15d";
1414 };
1515
16+ goDeps = ./deps.nix;
17+
1618 buildFlags = "--tags release";
1719
20+ nativeBuildInputs = [ pkgconfig ];
21+ buildInputs = [ libusb1 ];
22+
1823 meta = with stdenv.lib; {
1924 inherit version;
2025 description = "aws-vault like tool for Okta authentication";
pkgs/tools/security/aws-okta/deps.nixnew file+29
@@ -0,0 +1,29 @@
1+[
2+ {
3+ goPackagePath = "github.com/sirupsen/logrus";
4+ fetch = {
5+ type = "git";
6+ url = "https://github.com/sirupsen/logrus.git";
7+ rev = "a437dfd2463eaedbec3dfe443e477d3b0a810b3f";
8+ sha256 = "1904s2bbc7p88anzjp6fyj3jrbm5p6wbb8j4490674dq10kkcfbj";
9+ };
10+ }
11+ {
12+ goPackagePath = "golang.org/x/sys/unix";
13+ fetch = {
14+ type = "git";
15+ url = "https://github.com/golang/sys.git";
16+ rev = "b699b7032584f0953262cb2788a0ca19bb494703";
17+ sha256 = "172sw1bm581qwal9pbf9qj1sgivr74nabbj8qq4q4fhgpzams9ix";
18+ };
19+ }
20+ {
21+ goPackagePath = "github.com/marshallbrekka/go-u2fhost";
22+ fetch = {
23+ type = "git";
24+ url = "https://github.com/marshallbrekka/go-u2fhost";
25+ rev = "72b0e7a3f583583996b3b382d2dfaa81fdc4b82c";
26+ sha256 = "0apzmf0bjpr58ynw55agyjsl74zyg5qjk19nyyy4zhip3s9b1d0h";
27+ };
28+ }
29+]