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

25 lines
661 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mark";
2021-09-16 15:33:31 +02:00
version = "6.3";
src = fetchFromGitHub {
owner = "kovetskiy";
repo = "mark";
rev = version;
2021-09-16 15:33:31 +02:00
sha256 = "sha256-HKP8ZYhYDJizZ91q4MRwS00YIMvgB6EJ3au5rMg02hg=";
};
2021-08-14 17:00:16 +02:00
vendorSha256 = "sha256-y3Q8UebNbLy1jmxUC37mv+2l8dCU3b/Fk8XHn5u57p0=";
2021-08-26 08:45:51 +02: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 ];
};
}