Files
nixpkgs/pkgs/by-name/ma/mark/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
1.1 KiB
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
# Tests with go 1.24 do not work. For now
# https://github.com/kovetskiy/mark/pull/581#issuecomment-2797872996
buildGoModule rec {
pname = "mark";
version = "14.1.1";
src = fetchFromGitHub {
owner = "kovetskiy";
repo = "mark";
rev = "${version}";
sha256 = "sha256-jKc5QugqfdjSQjK7SbLG02a9+YdFcweS+91LhdR0Dzg=";
};
vendorHash = "sha256-AHtIVp2n5v4YoYfWAsE7eD1QcEFKdjSqzGIlR7+mnxg=";
ldflags = [
"-s"
"-w"
"-X main.version=${version}"
];
checkFlags =
let
skippedTests = [
# Expects to be able to launch google-chrome
"TestExtractMermaidImage"
"TestExtractD2Image/example"
];
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
wrbbz
];
};
}