nixpkgs/pkgs/development/tools/documentation/mdsh/default.nix

24 lines
612 B
Nix
Raw Normal View History

2019-02-17 10:18:04 +00:00
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
2019-08-31 11:41:23 +00:00
pname = "mdsh";
2019-08-01 10:02:32 +00: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 10:02:32 +00:00
sha256 = "0m3f5mrdmnmkfsy7mc6x3jf4ainmq0z42mv935ikcdbjwwjbd5gq";
2019-02-17 10:18:04 +00:00
};
2019-08-01 10:02:32 +00: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;
};
}