9 buildDotnetModule rec {
11 version = "2024-11-20";
13 src = fetchFromGitHub {
14 owner = "artempyanykh";
17 sha256 = "sha256-gQ/CncjGBR4cAVRko+u3Zv6QTg8AxmV+9+WbAcp+qX4=";
20 projectFile = "Marksman/Marksman.fsproj";
21 dotnetBuildFlags = [ "-p:VersionString=${version}" ];
23 __darwinAllowLocalNetworking = true;
26 testProjectFile = "Tests/Tests.fsproj";
28 nugetDeps = ./deps.nix;
30 dotnet-sdk = dotnetCorePackages.sdk_8_0;
31 dotnet-runtime = dotnetCorePackages.runtime_8_0;
34 install -m 644 -D -t "$out/share/doc/${pname}" LICENSE
38 updateScript = ./update.sh;
39 tests.version = testers.testVersion {
41 command = "marksman --version";
46 description = "Language Server for Markdown";
48 Marksman is a program that integrates with your editor
49 to assist you in writing and maintaining your Markdown documents.
50 Using LSP protocol it provides completion, goto definition,
51 find references, rename refactoring, diagnostics, and more.
52 In addition to regular Markdown, it also supports wiki-link-style
53 references that enable Zettelkasten-like note taking.
55 homepage = "https://github.com/artempyanykh/marksman";
56 license = licenses.mit;
57 maintainers = with maintainers; [ stasjok plusgut ];
58 platforms = dotnet-sdk.meta.platforms;
59 mainProgram = "marksman";