about summary refs log tree commit diff
path: root/pkgs/tools/system/envconsul
diff options
context:
space:
mode:
authorPradeep Chhetri <pradeep.chhetri89@gmail.com>2017-02-18 00:50:28 +0530
committerPradeep Chhetri <pradeep.chhetri89@gmail.com>2017-02-19 09:36:39 +0530
commit1973a2953681490e4a9b0be4c9da1ac869a475c0 (patch)
tree380e3274a117757ae51bc72e8b90acf49450b070 /pkgs/tools/system/envconsul
parent03024b39b7d4b94724faa1a62f21aed3531bb35a (diff)
downloadnixlib-1973a2953681490e4a9b0be4c9da1ac869a475c0.tar
nixlib-1973a2953681490e4a9b0be4c9da1ac869a475c0.tar.gz
nixlib-1973a2953681490e4a9b0be4c9da1ac869a475c0.tar.bz2
nixlib-1973a2953681490e4a9b0be4c9da1ac869a475c0.tar.lz
nixlib-1973a2953681490e4a9b0be4c9da1ac869a475c0.tar.xz
nixlib-1973a2953681490e4a9b0be4c9da1ac869a475c0.tar.zst
nixlib-1973a2953681490e4a9b0be4c9da1ac869a475c0.zip
envconsul: init at 0.6.2
Diffstat (limited to 'pkgs/tools/system/envconsul')
-rw-r--r--pkgs/tools/system/envconsul/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/system/envconsul/default.nix b/pkgs/tools/system/envconsul/default.nix
new file mode 100644
index 000000000000..fcc3f217d64b
--- /dev/null
+++ b/pkgs/tools/system/envconsul/default.nix
@@ -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 ];
+  };
+}