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-03-05 00:39:15 -08:00
version = "0.4.0";
2019-02-17 02:18:04 -08:00
src = fetchFromGitHub {
owner = "zimbatm";
repo = "mdsh";
rev = "v${version}";
2020-03-05 00:39:15 -08:00
sha256 = "0y0k6rsspvpia4lssals4c3rdz9fgvlrhwd8gw38say02hn5b7ip";
2019-02-17 02:18:04 -08:00
};
2020-03-05 00:39:15 -08:00
cargoSha256 = "07f2ajg9jpp666915cwsjn5clmi9ghkw25qfqj0lj3kfj79n5ash";
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;
};
}