2024-01-02 11:29:13 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
rustPlatform
|
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tera-cli";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "0.4.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "chevdor";
|
|
|
|
repo = "tera-cli";
|
|
|
|
rev = "v${version}";
|
2024-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-mYFvqzSnTljzRbb9W4/hY7fOO35UF31P5M49JkM58R8=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
cargoHash = "sha256-aG0J9hnkGvz42gOczU3uF3GsmKZWgrLtx8lXOkDwt0c=";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Command line utility to render templates from json|toml|yaml and ENV, using the tera templating engine";
|
2024-01-02 11:29:13 +00:00
|
|
|
homepage = "https://github.com/chevdor/tera-cli";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [_365tuwe];
|
|
|
|
mainProgram = "tera";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|