2019-02-17 02:18:04 -08:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 04:41:23 -07:00
|
|
|
pname = "mdsh";
|
2019-10-19 15:33:28 -07:00
|
|
|
version = "0.3.0";
|
2019-02-17 02:18:04 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zimbatm";
|
|
|
|
repo = "mdsh";
|
|
|
|
rev = "v${version}";
|
2019-10-19 15:33:28 -07:00
|
|
|
sha256 = "1a9i6h8fzrrfzjyfxaps73lxgkz92k0bnmwbjbwdmiwci4qgi9ms";
|
2019-02-17 02:18:04 -08:00
|
|
|
};
|
|
|
|
|
2019-10-19 15:33:28 -07:00
|
|
|
cargoSha256 = "0rarpzfigyxr6s0ba13z00kvnms29qkjfbfjkay72mb6xn7f1059";
|
2019-08-25 06:19:11 -07:00
|
|
|
verifyCargoDeps = true;
|
2019-02-17 02:18:04 -08:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Markdown shell pre-processor";
|
|
|
|
homepage = https://github.com/zimbatm/mdsh;
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|