blob: fdaea29219f09574a93b91f1accebf3b0e565419 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ lib, buildNpmPackage, fetchFromGitHub }:
buildNpmPackage rec {
pname = "prettier-plugin-go-template";
version = "0.0.15";
src = fetchFromGitHub {
owner = "NiklasPor";
repo = "prettier-plugin-go-template";
rev = "b7fe3eeeeeef69587cca96b85473882a7f52c1c7";
hash = "sha256-K+BuKzOV0dP67TJLIn6BpAorDesNVp0710AS8XE+RV4=";
};
npmDepsHash = "sha256-PpJnVZFRxpUHux2jIBDtyBS4qNo6IJY4kwTAq6stEVQ=";
npmPackFlags = [ "--ignore-scripts" ];
meta = with lib; {
description = "Fixes prettier formatting for go templates 🐹";
homepage = "https://github.com/NiklasPor/prettier-plugin-go-template";
license = licenses.mit;
};
}
|