1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 hash = "sha256-8ZAc5ALhpPyFCCsC0f22fSZKRmevFLLFFC0drUuXxg4=";
14 cargoHash = "sha256-2aeRb5jNZbpzAgpne494BMr7rkDqZUJEpITtHbdmhxY=";
16 # The tests relies on the presence of network connection
19 cargoBuildFlags = "--bin minijinja-cli";
22 description = "Command Line Utility to render MiniJinja/Jinja2 templates";
23 homepage = "https://github.com/mitsuhiko/minijinja";
24 license = with licenses; [ asl20 ];
25 maintainers = with maintainers; [ psibi ];
26 changelog = "https://github.com/mitsuhiko/minijinja/blob/${version}/CHANGELOG.md";
27 mainProgram = "minijinja-cli";