2021-01-28 08:09:41 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mark";
|
2021-03-30 19:50:50 +02:00
|
|
|
version = "5.5";
|
2021-01-28 08:09:41 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kovetskiy";
|
|
|
|
repo = "mark";
|
|
|
|
rev = version;
|
2021-03-30 19:50:50 +02:00
|
|
|
sha256 = "sha256-+mDUT9zkawa6Ad1uptc34RGK3bhU6WowwUZdwKbOnj4=";
|
2021-01-28 08:09:41 +01:00
|
|
|
};
|
|
|
|
|
2021-03-13 09:33:51 +01:00
|
|
|
vendorSha256 = "sha256-nneQ0B7PyHAqiOzrmWqSssZM8B3np4VFUJLBqUvkjZE=";
|
2021-01-28 08:09:41 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|