3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #267852 from 365tuwe/add-tera-cli

tera-cli: init at 0.2.5
This commit is contained in:
nikstur 2023-11-22 10:34:12 +01:00 committed by GitHub
commit 3e9cbcd5e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View file

@ -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";

View file

@ -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;
};
}