Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoPackage, fetchFromGitHub }:
2
3buildGoPackage rec {
4 pname = "step-cli";
5 version = "0.13.3";
6
7 goPackagePath = "github.com/smallstep/cli";
8
9 src = fetchFromGitHub {
10 owner = "smallstep";
11 repo = "cli";
12 rev = "v${version}";
13 sha256 = "0b5hk9a8yq1nyh8m1gmf28yiha95xwsc4dk321g84hvai7g47pbr";
14 };
15
16 goDeps = ./deps.nix;
17
18 meta = with lib; {
19 description = "A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc";
20 homepage = "https://smallstep.com/cli/";
21 license = licenses.asl20;
22 maintainers = with maintainers; [ xfix ];
23 platforms = platforms.linux ++ platforms.darwin;
24 };
25}