2023-08-10 07:59:29 +00:00
|
|
|
{ lib
|
|
|
|
, buildNpmPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "markdownlint-cli";
|
2024-09-26 11:04:55 +00:00
|
|
|
version = "0.42.0";
|
2023-08-10 07:59:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "igorshubovych";
|
|
|
|
repo = "markdownlint-cli";
|
|
|
|
rev = "v${version}";
|
2024-09-26 11:04:55 +00:00
|
|
|
hash = "sha256-bT/6bRzpXa86e6T0bJSUm624dbRAux4qgmCc+lOtl3c=";
|
2023-08-10 07:59:29 +00:00
|
|
|
};
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
npmDepsHash = "sha256-g2+kieF+cq8olfQ5rElNNvp5NYJcg+eTNWnMxSXqlKk=";
|
2023-08-10 07:59:29 +00:00
|
|
|
|
|
|
|
dontNpmBuild = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Command line interface for MarkdownLint";
|
|
|
|
homepage = "https://github.com/igorshubovych/markdownlint-cli";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
mainProgram = "markdownlint";
|
|
|
|
maintainers = with lib.maintainers; [ ambroisie ];
|
|
|
|
};
|
|
|
|
}
|