2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2019-02-17 10:18:04 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "mdsh";
|
2021-02-27 13:47:11 +00:00
|
|
|
version = "0.6.0";
|
2019-02-17 10:18:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zimbatm";
|
|
|
|
repo = "mdsh";
|
|
|
|
rev = "v${version}";
|
2021-02-27 13:47:11 +00:00
|
|
|
sha256 = "1ki6w3qf8ipcf7ch5120mj16vs7yan8k9zjd25v8x6vbsd1iccgy";
|
2019-02-17 10:18:04 +00:00
|
|
|
};
|
|
|
|
|
2021-02-27 13:47:11 +00:00
|
|
|
cargoSha256 = "10iqypz8hfyzy1xd78r39z2waa728d97kfnf1bbx8fr4a4pzan7y";
|
2019-02-17 10:18:04 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2019-02-17 10:18:04 +00:00
|
|
|
description = "Markdown shell pre-processor";
|
2020-03-05 08:39:15 +00:00
|
|
|
homepage = "https://github.com/zimbatm/mdsh";
|
2019-02-17 10:18:04 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
|
|
};
|
|
|
|
}
|