nixpkgs/pkgs/tools/system/envconsul/default.nix

25 lines
661 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
2017-02-17 22:20:28 +03:00
buildGoPackage rec {
pname = "envconsul";
version = "0.7.3";
2017-02-17 22:20:28 +03:00
rev = "v${version}";
goPackagePath = "github.com/hashicorp/envconsul";
src = fetchFromGitHub {
inherit rev;
owner = "hashicorp";
repo = "envconsul";
sha256 = "03cgxkyyynr067dg5b0lhvaxn60318fj9fh55p1n43vj5nrzgnbc";
2017-02-17 22:20:28 +03:00
};
meta = with lib; {
homepage = "https://github.com/hashicorp/envconsul/";
2017-02-17 22:20:28 +03:00
description = "Read and set environmental variables for processes from Consul";
platforms = platforms.linux ++ platforms.darwin;
license = licenses.mpl20;
maintainers = with maintainers; [ pradeepchhetri ];
};
}