pari: 2.15.5 -> 2.17.1 (#348442)
[NixPkgs.git] / pkgs / by-name / ma / marked-man / package.nix
blobffbe51602c5a5ac7d8e97e7229ed2e1831bf3da8
2   lib,
3   buildNpmPackage,
4   fetchFromGitHub,
5 }:
7 buildNpmPackage rec {
8   pname = "marked-man";
9   version = "2.1.0";
11   src = fetchFromGitHub {
12     owner = "kapouer";
13     repo = "marked-man";
14     rev = version;
15     hash = "sha256-RzPKahYxBdWZi1SwIv7Ju1cAQ4s0ANkCivFJItPYGCY=";
16   };
18   # https://github.com/kapouer/marked-man/issues/37
19   prePatch = ''
20     cp ${./package-lock.json} ./package-lock.json
21   '';
23   npmDepsHash = "sha256-8m0Xgq3O69hbSQArSrU/gbJvBEGP6rHK4to16QkXG6M=";
25   dontNpmBuild = true;
27   meta = {
28     description = "Markdown to roff wrapper around marked";
29     homepage = "https://github.com/kapouer/marked-man";
30     changelog = "https://github.com/kapouer/marked-man/blob/${version}/CHANGES.md";
31     license = lib.licenses.mit;
32     maintainers = with lib.maintainers; [ atemu ];
33     mainProgram = "marked-man";
34     platforms = lib.platforms.all;
35   };