{ lib, rustPlatform, fetchFromGitHub }: rustPlatform.buildRustPackage rec { pname = "minijinja"; version = "2.0.2"; src = fetchFromGitHub { owner = "mitsuhiko"; repo = "minijinja"; rev = version; hash = "sha256-aqoUsVj9XYlbi8wh2Rqxy+M9+RU9NLp97qlpTKUlJEI="; }; cargoHash = "sha256-G9nIlri7VwojNRsCwZxseZxcSxLqAKtnm+AV7TLqJm4="; # The tests relies on the presence of network connection doCheck = false; cargoBuildFlags = "--bin minijinja-cli"; meta = with lib; { description = "Command Line Utility to render MiniJinja/Jinja2 templates"; homepage = "https://github.com/mitsuhiko/minijinja"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ psibi ]; changelog = "https://github.com/mitsuhiko/minijinja/blob/${version}/CHANGELOG.md"; mainProgram = "minijinja-cli"; }; }