Unverified Commit 3def33b9 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #201832 from stehessel/vals-init-0.19.0

parents fad554ef b8f083b4
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub, testers, vals }:

buildGoModule rec {
  pname = "vals";
  version = "0.19.0";

  src = fetchFromGitHub {
    rev = "v${version}";
    owner = "variantdev";
    repo = pname;
    sha256 = "sha256-0TO8aN1qKpGQnec6hKph6EHkRWb1dfHtyRdFYX0BjM0=";
  };

  vendorSha256 = "sha256-wxM8g553DCkoL09Icz+HoXB98z1f6mm4qzk01k09++0=";

  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 = with lib; {
    description = "Helm-like configuration values loader with support for various sources";
    license = licenses.asl20;
    homepage = "https://github.com/variantdev/vals";
    changelog = "https://github.com/variantdev/vals/releases/v${version}";
    maintainers = with maintainers; [ stehessel ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13099,6 +13099,8 @@ with pkgs;
  urlwatch = callPackage ../tools/networking/urlwatch { };
  vals = callPackage ../tools/security/vals { };
  valum = callPackage ../development/web/valum { };
  inherit (callPackages ../servers/varnish { })