mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
minijinja: init at 1.0.12
This commit is contained in:
parent
8b6b276ee1
commit
837e599dfa
29
pkgs/by-name/mi/minijinja/package.nix
Normal file
29
pkgs/by-name/mi/minijinja/package.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "minijinja";
|
||||
version = "1.0.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mitsuhiko";
|
||||
repo = "minijinja";
|
||||
rev = version;
|
||||
hash = "sha256-v5YTPcUiCUQvTURqgKepdOjKZ5rFLr+mF7X+s5GvxdM=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-OhfrlT2DZU3ahH9PKqpEK8f34J2E6zNUai3hYBPg7v4=";
|
||||
|
||||
# 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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user