vals: init at 0.19.0

This commit is contained in:
Stephan Heßelmann 2022-11-19 01:35:49 +01:00
parent c0350cbb2c
commit b8f083b48f
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ 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 ];
};
}

View file

@ -12871,6 +12871,8 @@ with pkgs;
urlwatch = callPackage ../tools/networking/urlwatch { };
vals = callPackage ../tools/security/vals { };
valum = callPackage ../development/web/valum { };
inherit (callPackages ../servers/varnish { })