prettier-plugin-jinja-template: init at 2.1.0
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
{
|
||||
lib,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "prettier-plugin-jinja-template";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "davidodenwald";
|
||||
repo = "prettier-plugin-jinja-template";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-qAmN4VJCJana7YbrQC/51JKCbP2DN10HpIt+S88yvPE=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-/m0+z2fSwX77zRY4Yg4xdyI/ZEzAKNUuicaqz0b8f5w=";
|
||||
|
||||
passthru.update-script = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Formatter plugin for Jinja2 template files";
|
||||
homepage = "https://github.com/davidodenwald/prettier-plugin-jinja-template";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ adamperkowski ];
|
||||
mainProgram = "prettier-plugin-jinja-template";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user