2023-08-10 07:59:29 +00:00
|
|
|
{ lib
|
|
|
|
, buildNpmPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "markdownlint-cli";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.40.0";
|
2023-08-10 07:59:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "igorshubovych";
|
|
|
|
repo = "markdownlint-cli";
|
|
|
|
rev = "v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-h9h1qJ6xKQRRNSr3PsMeuMMyzfJbq49BluKvhJK86v4=";
|
2023-08-10 07:59:29 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
npmDepsHash = "sha256-Ez83Q/zXF61L0hoEb+i4h8oyelrHfgHueAW2mqhCjMQ=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|