10 pname = "gh-markdown-preview";
13 src = fetchFromGitHub {
15 repo = "gh-markdown-preview";
17 hash = "sha256-y9AiHmBfDSJ6oCevUAUkg18qHe/oP7A6PLiz3MZqU0s=";
20 vendorHash = "sha256-O6Q9h5zcYAoKLjuzGu7f7UZY0Y5rL2INqFyJT2QZJ/E=";
25 "-X github.com/yusukebe/gh-markdown-preview/cmd.Version=${version}"
32 version = testers.testVersion { package = gh-markdown-preview; };
36 description = "gh extension to preview Markdown looking like on GitHub";
37 homepage = "https://github.com/yusukebe/gh-markdown-preview";
38 changelog = "https://github.com/yusukebe/gh-markdown-preview/releases/tag/${src.rev}";
39 license = lib.licenses.mit;
40 maintainers = with lib.maintainers; [ amesgen ];
41 mainProgram = "gh-markdown-preview";