mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
52bdd452c7
All dependencies are vendored in the repository.
33 lines
888 B
Nix
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";
|
|
};
|
|
}
|