2019-02-17 10:18:04 +00:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
name = "mdsh-${version}";
|
2019-02-19 20:56:32 +00:00
|
|
|
version = "0.1.3";
|
2019-02-17 10:18:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zimbatm";
|
|
|
|
repo = "mdsh";
|
|
|
|
rev = "v${version}";
|
2019-02-19 20:56:32 +00:00
|
|
|
sha256 = "17pd090wpnx7i8q9pp9rhps35ahm1xn4h6pm1cfsafm072qd7rff";
|
2019-02-17 10:18:04 +00:00
|
|
|
};
|
|
|
|
|
2019-05-25 11:03:08 +00:00
|
|
|
cargoSha256 = "0a2d2qnb0wkxcs2l839p7jsr99ng2frahsfi2viy9fjynsjpvzlm";
|
2019-02-17 10:18:04 +00: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;
|
|
|
|
};
|
|
|
|
}
|