1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/by-name/te/tera-cli/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

28 lines
706 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "tera-cli";
version = "0.4.0";
src = fetchFromGitHub {
owner = "chevdor";
repo = "tera-cli";
rev = "v${version}";
hash = "sha256-mYFvqzSnTljzRbb9W4/hY7fOO35UF31P5M49JkM58R8=";
};
cargoHash = "sha256-aG0J9hnkGvz42gOczU3uF3GsmKZWgrLtx8lXOkDwt0c=";
meta = with lib; {
description = "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;
};
}