Skip to content

Commit 4a849ad

Browse files
committed
step-agent-plugin: v0.64.0-dev6 -> v0.64.0-rc1
1 parent a504537 commit 4a849ad

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# This file was generated by GoReleaser. DO NOT EDIT.
2+
# vim: set ft=nix ts=2 sw=2 sts=2 et sta
3+
{
4+
lib,
5+
fetchurl,
6+
installShellFiles,
7+
stdenvNoCC,
8+
tpm2-tss,
9+
tpm2-openssl,
10+
desktop-file-utils,
11+
polkit,
12+
p11-kit,
13+
makeWrapper,
14+
}:
15+
let
16+
inherit (stdenvNoCC.hostPlatform) system;
17+
shaMap = {
18+
x86_64-linux = "0y7q64sg685ipnrzrrylsnyssfk2h1qdp3idqwdxxj8hqpmqqjld";
19+
aarch64-linux = "0jknk8zcpk5av2wgw9qiycsx83fr88wjhn3yrzn5zr02kmi9izhr";
20+
};
21+
22+
urlMap = {
23+
x86_64-linux = "https://github.com/smallstep/step-agent-plugin/releases/download/v0.64.0-rc1/step-agent-plugin_linux_0.64.0-rc1_amd64.tar.gz";
24+
aarch64-linux = "https://github.com/smallstep/step-agent-plugin/releases/download/v0.64.0-rc1/step-agent-plugin_linux_0.64.0-rc1_arm64.tar.gz";
25+
};
26+
in
27+
stdenvNoCC.mkDerivation {
28+
pname = "step-agent-plugin";
29+
version = "0.64.0-rc1";
30+
src = fetchurl {
31+
url = urlMap.${system};
32+
sha256 = shaMap.${system};
33+
};
34+
35+
sourceRoot = "step-agent-plugin_0.64.0-rc1";
36+
37+
nativeBuildInputs = [ installShellFiles makeWrapper ];
38+
39+
installPhase = ''
40+
mkdir -p $out/bin
41+
cp -vr ./step-agent-plugin $out/bin/step-agent-plugin
42+
wrapProgram $out/bin/step-agent-plugin --prefix PATH : ${lib.makeBinPath (lib.optionals stdenvNoCC.isLinux [ tpm2-tss tpm2-openssl desktop-file-utils polkit p11-kit ])}
43+
'';
44+
45+
meta = {
46+
description = "step-agent-plugin is an automated certificate management agent plugin for step-cli.";
47+
homepage = "https://github.com/smallstep/step-agent-plugin/";
48+
49+
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
50+
51+
platforms = [
52+
"aarch64-linux"
53+
"x86_64-linux"
54+
];
55+
};
56+
}

0 commit comments

Comments
 (0)