nixpkgs/pkgs/tools/text/mark/default.nix
Peder Bergebakken Sundt 7f29cc7704
Merge pull request #317052 from sudoforge/master
mark: 9.1.4 -> 9.12.0
2024-07-04 13:22:30 +02:00

36 lines
909 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "mark";
version = "9.12.0";
src = fetchFromGitHub {
owner = "kovetskiy";
repo = "mark";
rev = version;
sha256 = "sha256-GbtwC361BI02mI1xzwdH9iqTIrY5ItiAKfZ7C3uk5ms=";
};
vendorHash = "sha256-3OTHHhRgY9N6l6GXN6HCbmPAgpXyfyJ/3KAZWLltz24=";
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
checkFlags =
let
skippedTests = [
# Expects to be able to launch google-chrome
"TestExtractMermaidImage"
];
in [
"-skip=^${builtins.concatStringsSep "$|^" skippedTests}$"
];
meta = with lib; {
description = "Tool for syncing your markdown documentation with Atlassian Confluence pages";
mainProgram = "mark";
homepage = "https://github.com/kovetskiy/mark";
license = licenses.asl20;
maintainers = with maintainers; [ rguevara84 ];
};
}