Loading pkgs/by-name/sp/spiffe-helper/package.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib, stdenv, buildGoModule, fetchFromGitHub, }: buildGoModule (finalAttrs: { pname = "spiffe-helper"; version = "0.10.0"; src = fetchFromGitHub { owner = "spiffe"; repo = "spiffe-helper"; tag = "v${finalAttrs.version}"; hash = "sha256-nakwTJBE8ICuRCmG+pjh1gZVFIXSOgsxTDjEeBrwufE="; }; vendorHash = "sha256-sAcmJNry3nuWyzt0Ee05JjROR/pDXxu2NVmltotSD0U="; ldflags = [ "-s" "-w" ]; preCheck = '' patchShebangs pkg/sidecar/sidecar_test.sh ''; doInstallCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; installCheckPhase = '' runHook preInstallCheck # no version output $out/bin/${finalAttrs.meta.mainProgram} -h runHook postInstallCheck ''; meta = { description = "Retrieve and manage SVIDs on behalf of a workload"; homepage = "https://github.com/spiffe/spiffe-helper"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ jk ]; mainProgram = "spiffe-helper"; }; }) Loading
pkgs/by-name/sp/spiffe-helper/package.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib, stdenv, buildGoModule, fetchFromGitHub, }: buildGoModule (finalAttrs: { pname = "spiffe-helper"; version = "0.10.0"; src = fetchFromGitHub { owner = "spiffe"; repo = "spiffe-helper"; tag = "v${finalAttrs.version}"; hash = "sha256-nakwTJBE8ICuRCmG+pjh1gZVFIXSOgsxTDjEeBrwufE="; }; vendorHash = "sha256-sAcmJNry3nuWyzt0Ee05JjROR/pDXxu2NVmltotSD0U="; ldflags = [ "-s" "-w" ]; preCheck = '' patchShebangs pkg/sidecar/sidecar_test.sh ''; doInstallCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; installCheckPhase = '' runHook preInstallCheck # no version output $out/bin/${finalAttrs.meta.mainProgram} -h runHook postInstallCheck ''; meta = { description = "Retrieve and manage SVIDs on behalf of a workload"; homepage = "https://github.com/spiffe/spiffe-helper"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ jk ]; mainProgram = "spiffe-helper"; }; })