3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #68670 from B4dM4n/cargo-sync-readme

cargo-sync-readme: init at 1.0
This commit is contained in:
Ryan Mulligan 2020-09-23 18:46:17 -07:00 committed by GitHub
commit 5b61492080
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "cargo-sync-readme";
version = "1.0";
src = fetchFromGitHub {
owner = "phaazon";
repo = pname;
rev = version;
sha256 = "1c38q87fyfmj6nlwdpavb1xxpi26ncywkgqcwbvblad15c6ydcyc";
};
cargoSha256 = "1x15q6wv5278hm3ns2wmw4i8602g35y1jyv1b8wa5i4dnh52dj83";
meta = with stdenv.lib; {
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 ];
};
}

View file

@ -9734,6 +9734,7 @@ in
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { };
cargo-sync-readme = callPackage ../development/tools/rust/cargo-sync-readme {};
cargo-udeps = callPackage ../development/tools/rust/cargo-udeps {
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
};