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