Skip to content

Commit 307b90e

Browse files
committed
step-agent-plugin: v0.64.0-rc2 -> v0.64.0-rc3
1 parent ae2dbcb commit 307b90e

1 file changed

Lines changed: 61 additions & 0 deletions

File tree

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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+
gdk-pixbuf,
14+
glib,
15+
gtk3,
16+
libsoup_3,
17+
webkitgtk_4_1,
18+
makeWrapper,
19+
}:
20+
let
21+
inherit (stdenvNoCC.hostPlatform) system;
22+
shaMap = {
23+
x86_64-linux = "0ji662ddpy980cz6hy9a7z2srbpfappj774ffjqdhl7njq2393j2";
24+
aarch64-linux = "1x3sa5g1lsr7jlf5dv04jvygy4wzybld7yyj4l6319gkvsjwprrw";
25+
};
26+
27+
urlMap = {
28+
x86_64-linux = "https://github.com/smallstep/step-agent-plugin/releases/download/v0.64.0-rc3/step-agent-plugin_linux_0.64.0-rc3_amd64.tar.gz";
29+
aarch64-linux = "https://github.com/smallstep/step-agent-plugin/releases/download/v0.64.0-rc3/step-agent-plugin_linux_0.64.0-rc3_arm64.tar.gz";
30+
};
31+
in
32+
stdenvNoCC.mkDerivation {
33+
pname = "step-agent-plugin";
34+
version = "0.64.0-rc3";
35+
src = fetchurl {
36+
url = urlMap.${system};
37+
sha256 = shaMap.${system};
38+
};
39+
40+
sourceRoot = "step-agent-plugin_0.64.0-rc3";
41+
42+
nativeBuildInputs = [ installShellFiles makeWrapper ];
43+
44+
installPhase = ''
45+
mkdir -p $out/bin
46+
cp -vr ./step-agent-plugin $out/bin/step-agent-plugin
47+
wrapProgram $out/bin/step-agent-plugin --prefix PATH : ${lib.makeBinPath (lib.optionals stdenvNoCC.isLinux [ tpm2-tss tpm2-openssl desktop-file-utils polkit p11-kit gdk-pixbuf glib gtk3 libsoup_3 webkitgtk_4_1 ])}
48+
'';
49+
50+
meta = {
51+
description = "step-agent-plugin is an automated certificate management agent plugin for step-cli.";
52+
homepage = "https://github.com/smallstep/step-agent-plugin/";
53+
54+
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
55+
56+
platforms = [
57+
"aarch64-linux"
58+
"x86_64-linux"
59+
];
60+
};
61+
}

0 commit comments

Comments
 (0)