Merge pull request #180198 from viraptor/ejson2env-update

ejson2env: update script and strip
This commit is contained in:
Stanisław Pitucha 2023-03-02 20:48:28 +11:00 committed by GitHub
commit ccbbe66c21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ 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";