blob: c5117f038e090215a59cf34261e5c1afa69ecf6a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "minijinja";
version = "2.0.3";
src = fetchFromGitHub {
owner = "mitsuhiko";
repo = "minijinja";
rev = version;
hash = "sha256-3Frgeudh1Z4gpQJqyLxBZKi7gr4GIGLv7gW4Qf3LdVs=";
};
cargoHash = "sha256-7ohhnuy8baELLDvf0FfdJmSf62wtmnEfI2rl9yZp03w=";
# 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";
};
}
|