1 { lib, buildGoModule, fetchFromGitHub, testers, mmark }:
7 src = fetchFromGitHub {
10 # The tag has an outdated version number and fails the versio ntest
11 # The pinned revision includes one extra commit that fixes the issue
12 # rev = "v${version}";
13 rev = "158e9cca0280c58e205cb69b02bf33d7d826915e";
14 hash = "sha256-OzmqtmAAsG3ncrTl2o9rhK75i1WIpDnph0YrY38SlU0=";
17 vendorHash = "sha256-GjR9cOGLB6URHQi+qcyNbP7rm0+y4wypvgUxgJzIgGQ=";
19 ldflags = [ "-s" "-w" ];
21 passthru.tests.version = testers.testVersion {
26 description = "Powerful markdown processor in Go geared towards the IETF";
27 homepage = "https://github.com/mmarkdown/mmark";
28 license = with lib.licenses; bsd2;
29 maintainers = with lib.maintainers; [ yrashk ];
30 mainProgram = "mmark";