Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
640 B
Nix
32 lines
640 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildGoModule,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "envsubst";
|
|
version = "1.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "a8m";
|
|
repo = "envsubst";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-eByxrLf/F8Ih8v+0TunghF4m42TLPeRRFnqN3Ib6e14=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
postInstall = ''
|
|
install -Dm444 -t $out/share/doc/envsubst LICENSE *.md
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Environment variables substitution for Go";
|
|
homepage = "https://github.com/a8m/envsubst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ nicknovitski ];
|
|
mainProgram = "envsubst";
|
|
};
|
|
}
|