nixpkgs/pkgs/tools/text/mark/default.nix

25 lines
663 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mark";
2021-12-07 13:00:13 +00:00
version = "6.5.1";
src = fetchFromGitHub {
owner = "kovetskiy";
repo = "mark";
rev = version;
2021-12-07 13:00:13 +00:00
sha256 = "sha256-NTe7J08Lu4uVI/mLj4m87n1BZXiUPDvi5OtjJfddJw8=";
};
2021-12-07 13:00:13 +00:00
vendorSha256 = "sha256-Yp47FBS8JN/idBfZG0z0f2A1bzob8KTPtZ7u0cNCrM8=";
2021-08-26 06:45:51 +00:00
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 ];
};
}