Unverified Commit ccbbe66c authored by Stanisław Pitucha's avatar Stanisław Pitucha Committed by GitHub
Browse files

Merge pull request #180198 from viraptor/ejson2env-update

ejson2env: update script and strip
parents 4ebf4f8e 2924c3dc
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
{ buildGoModule, fetchFromGitHub, lib }:
{ lib, buildGoModule, fetchFromGitHub, nix-update-script }:

buildGoModule rec {
  pname = "ejson2env";
@@ -14,9 +14,15 @@ buildGoModule rec {
  vendorSha256 = "sha256-agWcD8vFNde1SCdkRovMNPf+1KODxV8wW1mXvE0w/CI=";

  ldflags = [
    "-s"
    "-w"
    "-X main.version=${version}"
  ];

  passthru.updateScript = nix-update-script {
    attrPath = pname;
  };

  meta = with lib; {
    description = "A tool to simplify storing secrets that should be accessible in the shell environment in your git repo.";
    homepage = "https://github.com/Shopify/ejson2env";