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

24 lines
612 B
Nix

{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "mdsh";
version = "0.3.0";
src = fetchFromGitHub {
owner = "zimbatm";
repo = "mdsh";
rev = "v${version}";
sha256 = "1a9i6h8fzrrfzjyfxaps73lxgkz92k0bnmwbjbwdmiwci4qgi9ms";
};
cargoSha256 = "1fxajh1n0qvcdas6w7dy3g92wilhfldy90pyk3779mrnh57fa6n5";
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;
};
}