vals: init at 0.19.0
This commit is contained in:
parent
c0350cbb2c
commit
b8f083b48f
2 changed files with 39 additions and 0 deletions
37
pkgs/tools/security/vals/default.nix
Normal file
37
pkgs/tools/security/vals/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { })
|
||||
|
|
Loading…
Reference in a new issue