2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mark";
|
2021-08-18 13:19:15 +00:00
|
|
|
version = "6.0";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kovetskiy";
|
|
|
|
repo = "mark";
|
|
|
|
rev = version;
|
2021-08-18 13:19:15 +00:00
|
|
|
sha256 = "sha256-zap6YE6Pi/Db0mY4jagJXB1JXhs7q3y3BNw9EucJkAM=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2021-08-18 13:19:15 +00:00
|
|
|
vendorSha256 = "sha256-y3Q8UebNbLy1jmxUC37mv+2l8dCU3b/Fk8XHn5u57p0=";
|
2021-02-05 17:12:51 +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 ];
|
|
|
|
};
|
|
|
|
}
|