2023-10-09 19:29:22 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate, stdenv, Security }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-rdme";
|
2024-10-29 11:11:06 +00:00
|
|
|
version = "1.4.5";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-10-29 11:11:06 +00:00
|
|
|
hash = "sha256-IB+n9abFeWLgJLdo3NjffcGrIxXhNdZ2moyfIG+gMoc=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
2023-10-09 19:29:22 +00:00
|
|
|
Security
|
|
|
|
];
|
|
|
|
|
2024-10-29 11:11:06 +00:00
|
|
|
cargoHash = "sha256-mD95+Q6xaL0LFk5841LBrQqzFU7KFJbUgHB96zXy2KU=";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Cargo command to create the README.md from your crate's documentation";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "cargo-rdme";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://github.com/orium/cargo-rdme";
|
|
|
|
changelog = "https://github.com/orium/cargo-rdme/blob/v${version}/release-notes.md";
|
|
|
|
license = with licenses; [ mpl20 ];
|
|
|
|
maintainers = with maintainers; [ GoldsteinE ];
|
|
|
|
};
|
|
|
|
}
|