1{ lib, fetchFromGitHub, rustPlatform }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "mdsh";
5 version = "0.7.0";
6
7 src = fetchFromGitHub {
8 owner = "zimbatm";
9 repo = "mdsh";
10 rev = "v${version}";
11 hash = "sha256-Y8ss/aw01zpgM6Z6fCGshP21kcdSOTVG/VqL8H3tlls=";
12 };
13
14 cargoSha256 = "sha256-8o4gN6mqUU+o80IqlAYAD5qpZBSQ/FY5HoNbpwzTm0A=";
15
16 meta = with lib; {
17 description = "Markdown shell pre-processor";
18 homepage = "https://github.com/zimbatm/mdsh";
19 license = with licenses; [ mit ];
20 maintainers = with maintainers; [ zimbatm ];
21 };
22}