1{
2 lib,
3 buildNpmPackage,
4 fetchFromGitHub,
5 nodejs,
6}:
7
8buildNpmPackage rec {
9 pname = "marp-cli";
10 version = "4.2.0";
11
12 src = fetchFromGitHub {
13 owner = "marp-team";
14 repo = "marp-cli";
15 rev = "v${version}";
16 hash = "sha256-LWKPwrpcpsZ/KtNu2p7go1MgyXUtgFIRGsThKnagu3c=";
17 };
18
19 npmDepsHash = "sha256-7on+dJWOUW43miopZKvJ2B1bs0jvTiQOe30yaN6e9lc=";
20 npmPackFlags = [ "--ignore-scripts" ];
21 makeCacheWritable = true;
22
23 doCheck = false;
24
25 meta = with lib; {
26 description = "About A CLI interface for Marp and Marpit based converters";
27 homepage = "https://github.com/marp-team/marp-cli";
28 license = licenses.mit;
29 maintainers = with maintainers; [ GuillaumeDesforges ];
30 platforms = nodejs.meta.platforms;
31 mainProgram = "marp";
32 };
33}