mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
f3bd305b75
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/djrl8w6b7ww5mk60grn239ahjmf5v0jb-envconsul-0.7.3-bin/bin/envconsul -h` got 0 exit code - ran `/nix/store/djrl8w6b7ww5mk60grn239ahjmf5v0jb-envconsul-0.7.3-bin/bin/envconsul --help` got 0 exit code - ran `/nix/store/djrl8w6b7ww5mk60grn239ahjmf5v0jb-envconsul-0.7.3-bin/bin/envconsul -v` and found version 0.7.3 - ran `/nix/store/djrl8w6b7ww5mk60grn239ahjmf5v0jb-envconsul-0.7.3-bin/bin/envconsul --version` and found version 0.7.3 - found 0.7.3 with grep in /nix/store/djrl8w6b7ww5mk60grn239ahjmf5v0jb-envconsul-0.7.3-bin - found 0.7.3 in filename of file in /nix/store/djrl8w6b7ww5mk60grn239ahjmf5v0jb-envconsul-0.7.3-bin
25 lines
679 B
Nix
25 lines
679 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "envconsul-${version}";
|
|
version = "0.7.3";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/hashicorp/envconsul";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "hashicorp";
|
|
repo = "envconsul";
|
|
sha256 = "03cgxkyyynr067dg5b0lhvaxn60318fj9fh55p1n43vj5nrzgnbc";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/hashicorp/envconsul/;
|
|
description = "Read and set environmental variables for processes from Consul";
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ pradeepchhetri ];
|
|
};
|
|
}
|