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

24 lines
614 B
Nix
Raw Normal View History

2019-02-17 02:18:04 -08:00
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
2019-08-31 04:41:23 -07:00
pname = "mdsh";
2020-05-08 14:25:31 -07:00
version = "0.5.0";
2019-02-17 02:18:04 -08:00
src = fetchFromGitHub {
owner = "zimbatm";
repo = "mdsh";
rev = "v${version}";
2020-06-01 01:59:41 -07:00
sha256 = "02xslf5ssmyklbfsif2d7yk5aaz08n5w0dqiid6v4vlr2mkqcpjl";
2019-02-17 02:18:04 -08:00
};
2020-06-01 01:59:41 -07:00
cargoSha256 = "118ykkqlf0x6gcgywx4pg3qawfhfr5q5f51gvrw9s302c1lmgk3g";
2019-02-17 02:18:04 -08:00
meta = with stdenv.lib; {
description = "Markdown shell pre-processor";
2020-03-05 00:39:15 -08:00
homepage = "https://github.com/zimbatm/mdsh";
2019-02-17 02:18:04 -08:00
license = with licenses; [ mit ];
maintainers = with maintainers; [ zimbatm ];
platforms = platforms.all;
};
}