2023-09-11 17:37:11 +00:00
|
|
|
{ lib, rustPlatform, fetchCrate, stdenv, Security }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-rdme";
|
2024-02-13 08:00:03 +00:00
|
|
|
version = "1.4.3";
|
2023-09-11 17:37:11 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-02-13 08:00:03 +00:00
|
|
|
hash = "sha256-WlZGhVWm6RYgODQZV4Sj3Q31FsPNd5SdYtp7kfUMxpI=";
|
2023-09-11 17:37:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [
|
|
|
|
Security
|
|
|
|
];
|
|
|
|
|
2024-02-13 08:00:03 +00:00
|
|
|
cargoHash = "sha256-AVwKktP96QYAOjo5gFeXpY0wOQObwarn82oaT6AVuBk=";
|
2023-09-11 17:37:11 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Cargo command to create the README.md from your crate's documentation";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "cargo-rdme";
|
2023-09-11 17:37:11 +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 ];
|
|
|
|
};
|
|
|
|
}
|