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

24 lines
612 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-05-08 14:25:31 -07:00
sha256 = "sha256-VF6GZxWZbrJNixE3wItF4CtVpj9NuKjdotNXrYujugs=";
2019-02-17 02:18:04 -08:00
};
2020-05-08 14:25:31 -07:00
cargoSha256 = "sha256-b8xXaWACDJ143i8UV3DJDjqu8HiXdO4fe6YDR/GcHoU=";
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;
};
}