@@ -0,0 +1,22 @@
1+{ lib, rustPlatform, fetchFromGitHub }:
2+
3+rustPlatform.buildRustPackage {
4+ pname = "mdctags";
5+ version = "unstable-2020-06-11"; # v0.1.0 does not build with our rust version
6+
7+ src = fetchFromGitHub {
8+ owner = "wsdjeg";
9+ repo = "mdctags.rs";
10+ rev = "0ed9736ea0c77e6ff5b560dda46f5ed0a983ed82";
11+ sha256 = "14gryhgh9czlkfk75ml0620c6v8r74i6h3ykkkmc7gx2z8h1jxrb";
12+ };
13+
14+ cargoSha256 = "01ap2w755vbr01nfqc5185mr2w9y32g0d4ahc3lw2x3m8qv0bh6x";
15+
16+ meta = {
17+ description = "tags for markdown file";
18+ homepage = "https://github.com/wsdjeg/mdctags.rs";
19+ license = lib.licenses.mit;
20+ maintainers = with lib.maintainers; [ pacien ];
21+ };
22+}