25 lines
642 B
Nix
Raw Normal View History

2019-02-17 11:18:04 +01:00
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
2019-08-31 11:41:23 +00:00
pname = "mdsh";
2019-10-20 00:33:28 +02:00
version = "0.3.0";
2019-02-17 11:18:04 +01:00
src = fetchFromGitHub {
owner = "zimbatm";
repo = "mdsh";
rev = "v${version}";
2019-10-20 00:33:28 +02:00
sha256 = "1a9i6h8fzrrfzjyfxaps73lxgkz92k0bnmwbjbwdmiwci4qgi9ms";
2019-02-17 11:18:04 +01:00
};
cargoSha256 = "1fxajh1n0qvcdas6w7dy3g92wilhfldy90pyk3779mrnh57fa6n5";
legacyCargoFetcher = false;
2019-02-17 11:18:04 +01: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;
};
}