From 1b1384618cbeaea924cdb421ed17e744bac4416c Mon Sep 17 00:00:00 2001 From: Uwe Schlifkowitz Date: Thu, 16 Nov 2023 09:34:39 +0100 Subject: [PATCH 1/2] maintainers: add 365tuwe --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 911f71a2cf05..81d6b0cfeea5 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -149,6 +149,12 @@ github = "360ied"; githubId = 19516527; }; + _365tuwe = { + name = "Uwe Schlifkowitz"; + email = "supertuwe@gmail.com"; + github = "365tuwe"; + githubId = 10263091; + }; _3699n = { email = "nicholas@nvk.pm"; github = "3699n"; From 0430dc415ed6c26a60b13540703a8f47bf8b523d Mon Sep 17 00:00:00 2001 From: Uwe Schlifkowitz Date: Thu, 16 Nov 2023 09:27:42 +0100 Subject: [PATCH 2/2] tera-cli: init at 0.2.5 --- pkgs/by-name/te/tera-cli/package.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/by-name/te/tera-cli/package.nix 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 000000000000..8b40581b6dc8 --- /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; + }; +}