nixpkgs/pkgs/by-name/ca/cargo-rdme/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
779 B
Nix
Raw Normal View History

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";
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 ];
};
}