about summary refs log tree commit diff
path: root/third_party/agenix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-03T13·40+0300
committertazjin <mail@tazj.in>2021-12-07T18·27+0000
commit214f422572bd15633bb75ecfc83cf8a52ee62c19 (patch)
tree6b0a789a631ce07b9a43061b75c24116b11f3fd4 /third_party/agenix
parentc1479a6221c246d193ababe2b82e3fd27277ce46 (diff)
feat(3p/agenix): Import latest version from GitHub r/3151
It's time to automate secrets deployment on hosts like whitby.

Change-Id: If7006124b4b5fec16b4c3570488c11e484f93888
Diffstat (limited to 'third_party/agenix')
-rw-r--r--third_party/agenix/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/agenix/default.nix b/third_party/agenix/default.nix
new file mode 100644
index 000000000000..91fd9576b091
--- /dev/null
+++ b/third_party/agenix/default.nix
@@ -0,0 +1,15 @@
+{ pkgs, ... }:
+
+let
+  commit = "52ea2f8c3231cc2b5302fa28c63588aacb77ea29";
+  src = builtins.fetchTarball {
+    url = "https://github.com/ryantm/agenix/archive/${commit}.tar.gz";
+    sha256 = "1sqgbriwmvxcmqp0zbk7873psk9g60a53fgrr9p0jafki5zzgvdx";
+  };
+  agenix = import src {
+    inherit pkgs;
+  };
+in {
+  inherit src;
+  cli = agenix.agenix;
+}