2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub }:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-sync-readme";
|
|
|
|
version = "1.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phaazon";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1c38q87fyfmj6nlwdpavb1xxpi26ncywkgqcwbvblad15c6ydcyc";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoSha256 = "1x15q6wv5278hm3ns2wmw4i8602g35y1jyv1b8wa5i4dnh52dj83";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "A cargo plugin that generates a Markdown section in your README based on your Rust documentation";
|
|
|
|
homepage = "https://github.com/phaazon/cargo-sync-readme";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ b4dm4n ];
|
|
|
|
};
|
|
|
|
}
|