nixpkgs/pkgs/tools/security/aws-okta/default.nix
Timothy Stott 52bdd452c7 aws-okta: remove obselete goDeps dependencies
All dependencies are vendored in the repository.
2020-06-24 11:32:45 +01:00

33 lines
888 B
Nix

{ buildGoPackage, fetchFromGitHub, libusb1, pkgconfig, stdenv, libiconv }:
buildGoPackage rec {
pname = "aws-okta";
version = "1.0.2";
goPackagePath = "github.com/segmentio/aws-okta";
src = fetchFromGitHub {
owner = "segmentio";
repo = "aws-okta";
rev = "v${version}";
sha256 = "0rqkbhprz1j9b9bx3wvl5zi4p02q1qza905wkrvh42f9pbknajww";
};
buildFlags = [ "--tags" "release" ];
buildFlagsArray = [ "-ldflags=-X main.Version=${version}" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb1 libiconv ];
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";
};
}