nixpkgs/pkgs/by-name/ma/markdown-oxide/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
748 B
Nix
Raw Normal View History

2024-03-25 15:48:43 +03:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "markdown-oxide";
2024-04-18 07:31:00 +03:00
version = "0.0.17";
2024-03-25 15:48:43 +03:00
src = fetchFromGitHub {
owner = "Feel-ix-343";
repo = "markdown-oxide";
rev = "v${version}";
2024-04-18 07:31:00 +03:00
hash = "sha256-bJlyzBnxUw1OyWLbVEFXgPc/YjmfyyQjfeGAA7G1QlY=";
2024-03-25 15:48:43 +03:00
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"tower-lsp-0.20.0" = "sha256-QRP1LpyI52KyvVfbBG95LMpmI8St1cgf781v3oyC3S4=";
};
};
meta = with lib; {
description = "A markdown LSP server inspired by Obsidian";
homepage = "https://github.com/Feel-ix-343/markdown-oxide";
license = with licenses; [ cc0 ];
maintainers = with maintainers; [ linsui ];
mainProgram = "markdown-oxide";
};
}