Files
nixpkgs/pkgs/by-name/va/vals/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
988 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
testers,
vals,
}:
buildGoModule rec {
pname = "vals";
version = "0.42.2";
src = fetchFromGitHub {
rev = "v${version}";
owner = "helmfile";
repo = "vals";
sha256 = "sha256-NdK7toICK9NJ6H8trCYJCEFE0weYH1Ban7dSlG1SM/c=";
};
vendorHash = "sha256-FjTxef9LHQopxiJYJFcAWcGJk5byVcEBlQFUssbfYwY=";
proxyVendor = true;
ldflags = [
"-s"
"-w"
"-X main.version=${version}"
];
# Tests require connectivity to various backends.
doCheck = false;
passthru.tests.version = testers.testVersion {
package = vals;
command = "vals version";
};
meta = {
description = "Helm-like configuration values loader with support for various sources";
mainProgram = "vals";
license = lib.licenses.asl20;
homepage = "https://github.com/helmfile/vals";
changelog = "https://github.com/helmfile/vals/releases/v${version}";
maintainers = with lib.maintainers; [ stehessel ];
};
}