Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / ma / marked-man / package.nix
blob6de1f49c4374afb48c975441c71c80a429db9f34
1 { lib
2 , buildNpmPackage
3 , fetchFromGitHub
4 }:
6 buildNpmPackage rec {
7   pname = "marked-man";
8   version = "2.1.0";
10   src = fetchFromGitHub {
11     owner = "kapouer";
12     repo = "marked-man";
13     rev = version;
14     hash = "sha256-RzPKahYxBdWZi1SwIv7Ju1cAQ4s0ANkCivFJItPYGCY=";
15   };
17   # https://github.com/kapouer/marked-man/issues/37
18   prePatch = ''
19     cp ${./package-lock.json} ./package-lock.json
20   '';
22   npmDepsHash = "sha256-8m0Xgq3O69hbSQArSrU/gbJvBEGP6rHK4to16QkXG6M=";
24   dontNpmBuild = true;
26   meta = {
27     description = "Markdown to roff wrapper around marked";
28     homepage = "https://github.com/kapouer/marked-man";
29     changelog = "https://github.com/kapouer/marked-man/blob/${version}/CHANGES.md";
30     license = lib.licenses.mit;
31     maintainers = with lib.maintainers; [ atemu ];
32     mainProgram = "marked-man";
33     platforms = lib.platforms.all;
34   };