kubernetes-helmPlugins.helm-secrets: 3.8.3 -> 4.2.2

This commit is contained in:
Zhong Jianxin 2023-02-17 14:36:20 +08:00
parent 4f9a955c5a
commit ee2ae036a1

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "helm-secrets";
version = "3.8.3";
version = "4.2.2";
src = fetchFromGitHub {
owner = "jkroepke";
repo = pname;
rev = "v${version}";
hash = "sha256-FpF/d+e5T6nb0OENaYLY+3ATZ+qcAeih5/yKI+AtfKA=";
hash = "sha256-aqRgny1vU+dxpZpzwL4aSbYfTGrZbRffQy81mMBvnJk=";
};
nativeBuildInputs = [ makeWrapper ];
@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
# NOTE: helm-secrets is comprised of shell scripts.
dontBuild = true;
# NOTE: Remove the install and upgrade hooks.
# NOTE: Fix version string
postPatch = ''
sed -i '/^hooks:/,+2 d' plugin.yaml
sed -i 's/^version:.*/version: "${version}"/' plugin.yaml
'';
installPhase = ''