step-cli: 0.15.3-22 -> 0.15.16

This commit is contained in:
David Guibert 2021-05-15 22:08:07 +02:00
parent f9eedc3457
commit 1270b79771

View file

@ -1,26 +1,24 @@
{ lib { lib
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
}: }:
buildGoModule rec { buildGoModule rec {
pname = "step-cli"; pname = "step-cli";
version = "0.15.3-22-g3ddc5aa"; version = "0.15.16";
# 0.15.3 isn't enough, because we need https://github.com/smallstep/cli/pull/394
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "smallstep"; owner = "smallstep";
repo = "cli"; repo = "cli";
rev = "3ddc5aaafccb23ba9a20abfa70109a2923f298e3"; rev = "v${version}";
sha256 = "1kd04hi764xa3f9p6aw6k9f6wa4y6xsmzby5jxvvkhim4w78brw0"; sha256 = "sha256-/HqCG3LscwogLXvZlL2CVo2Pj1hVRnOMPCmG1hxrG/I=";
}; };
preCheck = '' preCheck = ''
# Tries to connect to smallstep.com # Tries to connect to smallstep.com
rm command/certificate/remote_test.go rm command/certificate/remote_test.go
''; '';
vendorSha256 = "04hckq78g1p04b2q0rq4xw6d880hqhkabbx1pc3pf8r1m6jxwz10"; vendorSha256 = "sha256-plQgIqs6QUbzndn8C0ByKceGtz/JxZ1Rx0fXWHNJ0kM=";
meta = with lib; { meta = with lib; {
description = "A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc"; description = "A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc";