Skip to content

Commit 973b380

Browse files
authored
step-ca: 0.27.2 -> 0.27.5 (#351065)
2 parents 97b7fe9 + d47ff72 commit 973b380

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@
55
buildGoModule,
66
coreutils,
77
pcsclite,
8-
PCSC,
98
pkg-config,
109
hsmSupport ? true,
1110
nixosTests,
11+
darwin,
1212
}:
1313

1414
buildGoModule rec {
1515
pname = "step-ca";
16-
version = "0.27.2";
16+
version = "0.27.5";
1717

1818
src = fetchFromGitHub {
1919
owner = "smallstep";
2020
repo = "certificates";
2121
rev = "refs/tags/v${version}";
22-
hash = "sha256-byVWNab6Q3yryluhMomzLkRNfXQ/68pAq+YGFjbvX1o=";
22+
hash = "sha256-0KIAO9KPP9Lrrw9IIaRdlmmfJ0mwQK0ne//Zofu3TfE=";
2323
};
2424

25-
vendorHash = "sha256-gQEGCbVgtKIaUgBkfpVwLXoUg1EUhaQFn9JZvV5Rjhc=";
25+
vendorHash = "sha256-yi4mbuCaT6ydnZwhqqhqMI7bF6IwHm0UqfR5JM81/Ik=";
2626

2727
ldflags = [
2828
"-w"
@@ -33,9 +33,9 @@ buildGoModule rec {
3333

3434
buildInputs =
3535
lib.optionals (hsmSupport && stdenv.hostPlatform.isLinux) [ pcsclite ]
36-
++ lib.optionals (hsmSupport && stdenv.hostPlatform.isDarwin) [ PCSC ];
37-
36+
++ lib.optionals (hsmSupport && stdenv.hostPlatform.isDarwin) [ darwin.apple_sdk.frameworks.PCSC ];
3837
postPatch = ''
38+
substituteInPlace authority/http_client_test.go --replace-fail 't.Run("SystemCertPool", func(t *testing.T) {' 't.Skip("SystemCertPool", func(t *testing.T) {'
3939
substituteInPlace systemd/step-ca.service --replace "/bin/kill" "${coreutils}/bin/kill"
4040
'';
4141

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5877,10 +5877,6 @@ with pkgs;
58775877
callPackage ../tools/misc/steampipe-packages { }
58785878
);
58795879

5880-
step-ca = callPackage ../tools/security/step-ca {
5881-
inherit (darwin.apple_sdk.frameworks) PCSC;
5882-
};
5883-
58845880
step-kms-plugin = callPackage ../tools/security/step-kms-plugin { };
58855881

58865882
string-machine = callPackage ../applications/audio/string-machine { };

0 commit comments

Comments
 (0)