2021-01-28 07:09:41 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mark";
|
2021-02-25 12:30:23 +00:00
|
|
|
version = "5.2.1";
|
2021-01-28 07:09:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kovetskiy";
|
|
|
|
repo = "mark";
|
|
|
|
rev = version;
|
2021-02-25 12:30:23 +00:00
|
|
|
sha256 = "sha256-eRKUoRr0FPVNUZV5WenA7GlpYPAVRNKe0uRxOzFjhVE=";
|
2021-01-28 07:09:41 +00:00
|
|
|
};
|
|
|
|
|
2021-02-09 21:49:10 +00:00
|
|
|
vendorSha256 = "sha256-l6zHsis2fais5HQJQdfsSC0sPdcF4BeWoUznpl3Fh1g=";
|
2021-01-28 07:09:41 +00:00
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A tool for syncing your markdown documentation with Atlassian Confluence pages";
|
|
|
|
homepage = "https://github.com/kovetskiy/mark";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ rguevara84 ];
|
|
|
|
};
|
|
|
|
}
|