2019-02-17 10:18:04 +00:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
name = "mdsh-${version}";
|
2019-08-01 11:02:32 +01:00
|
|
|
version = "0.1.4";
|
2019-02-17 10:18:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zimbatm";
|
|
|
|
repo = "mdsh";
|
|
|
|
rev = "v${version}";
|
2019-08-01 11:02:32 +01:00
|
|
|
sha256 = "0m3f5mrdmnmkfsy7mc6x3jf4ainmq0z42mv935ikcdbjwwjbd5gq";
|
2019-02-17 10:18:04 +00:00
|
|
|
};
|
|
|
|
|
2019-08-01 11:02:32 +01:00
|
|
|
cargoSha256 = "11kzl0ns84xhdacn0k7nilgzgpwazmaaqdjf2kcarxf2h01b0rjv";
|
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;
|
|
|
|
};
|
|
|
|
}
|