about summary refs log tree commit diff
path: root/pkgs/by-name/te
diff options
context:
space:
mode:
authorUwe Schlifkowitz <uwe.schlifkowitz@secunet.com>2023-11-16 09:27:42 +0100
committerUwe Schlifkowitz <uwe.schlifkowitz@secunet.com>2023-11-16 10:54:38 +0100
commit0430dc415ed6c26a60b13540703a8f47bf8b523d (patch)
tree3153a22fd0b85257b1ca347c401cd8a4de1be3d3 /pkgs/by-name/te
parent1b1384618cbeaea924cdb421ed17e744bac4416c (diff)
tera-cli: init at 0.2.5
Diffstat (limited to 'pkgs/by-name/te')
-rw-r--r--pkgs/by-name/te/tera-cli/package.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/by-name/te/tera-cli/package.nix b/pkgs/by-name/te/tera-cli/package.nix
new file mode 100644
index 0000000000000..8b40581b6dc82
--- /dev/null
+++ b/pkgs/by-name/te/tera-cli/package.nix
@@ -0,0 +1,27 @@
+{
+  lib,
+  fetchFromGitHub,
+  rustPlatform
+}:
+rustPlatform.buildRustPackage rec {
+  pname = "tera-cli";
+  version = "0.2.5";
+
+  src = fetchFromGitHub {
+    owner = "chevdor";
+    repo = "tera-cli";
+    rev = "v${version}";
+    hash = "sha256-W+pcVLxOlikwAGvx0twm23GyCMzdqnHY0YBNtcsSB5I=";
+  };
+
+  cargoHash = "sha256-A01mok8KQk1FV8P7E4svdBCW6xqpduHy1XuUcdDFjfc=";
+
+  meta = with lib; {
+    description = "A command line utility to render templates from json|toml|yaml and ENV, using the tera templating engine";
+    homepage = "https://github.com/chevdor/tera-cli";
+    license = licenses.mit;
+    maintainers = with maintainers; [_365tuwe];
+    mainProgram = "tera";
+    platforms = platforms.linux;
+  };
+}