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