mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #22915 from pradeepchhetri/envconsul
envconsul: init at 0.6.2
This commit is contained in:
commit
184f574283
2 changed files with 26 additions and 0 deletions
24
pkgs/tools/system/envconsul/default.nix
Normal file
24
pkgs/tools/system/envconsul/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "envconsul-${version}";
|
||||
version = "0.6.2";
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/hashicorp/envconsul";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "hashicorp";
|
||||
repo = "envconsul";
|
||||
sha256 = "176jbicyg7vwd0kgawz859gq7ldrxyw1gx55wig7azakiidkl731";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -862,6 +862,8 @@ with pkgs;
|
|||
|
||||
ent = callPackage ../tools/misc/ent { };
|
||||
|
||||
envconsul = callPackage ../tools/system/envconsul { };
|
||||
|
||||
f3 = callPackage ../tools/filesystems/f3 { };
|
||||
|
||||
facter = callPackage ../tools/system/facter {
|
||||
|
|
Loading…
Reference in a new issue