depot/third_party/nixpkgs/pkgs/tools/text/mark/default.nix
Default email 8ec1fd4587 Project import generated by Copybara.
GitOrigin-RevId: 266dc8c3d052f549826ba246d06787a219533b8f
2021-03-15 09:37:03 +01:00

24 lines
676 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mark";
version = "5.2.2";
src = fetchFromGitHub {
owner = "kovetskiy";
repo = "mark";
rev = version;
sha256 = "sha256-CS9xzRxTKvBuDM1vs+p+U7LSMP8W6+cKNb+Sd3wgwig=";
};
vendorSha256 = "sha256-nneQ0B7PyHAqiOzrmWqSssZM8B3np4VFUJLBqUvkjZE=";
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 ];
};
}