You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
746 B
29 lines
746 B
{ lib, buildGoModule, fetchFromGitHub, testers, mmark }:
|
|
|
|
buildGoModule rec {
|
|
pname = "mmark";
|
|
version = "2.2.25";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mmarkdown";
|
|
repo = "mmark";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-9XjNTbsB4kh7YpjUnTzSXypw9r4ZyR7GALTrYebRKAg=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-uHphMy9OVnLD6IBqfMTyRlDyyTabzZC4Vn0628P+0F4=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = mmark;
|
|
};
|
|
|
|
meta = {
|
|
description = "A powerful markdown processor in Go geared towards the IETF";
|
|
homepage = "https://github.com/mmarkdown/mmark";
|
|
license = with lib.licenses; bsd2;
|
|
maintainers = with lib.maintainers; [ yrashk ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|
|
|