lol
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "obsidian-export";
9 version = "25.3.0";
10
11 src = fetchFromGitHub {
12 owner = "zoni";
13 repo = "obsidian-export";
14 rev = "v${version}";
15 hash = "sha256-FcySNccDVeftX5BKVwYXdufsCmG8YuFBQrbSqibbVV8=";
16 };
17
18 cargoHash = "sha256-2rP1ks+47fI5Os7ltktPVUzvYss+KkjftrE4G0cl8XI=";
19
20 meta = {
21 changelog = "https://github.com/zoni/obsidian-export/blob/${src.rev}/CHANGELOG.md";
22 description = "Rust library and CLI to export an Obsidian vault to regular Markdown";
23 homepage = "https://github.com/zoni/obsidian-export";
24 license = lib.licenses.bsd2Patent;
25 mainProgram = "obsidian-export";
26 maintainers = with lib.maintainers; [ tomasajt ];
27 };
28}