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 18:37:11 +01:00
{ lib, rustPlatform, fetchCrate, stdenv, Security }:
rustPlatform.buildRustPackage rec {
pname = "cargo-rdme";
2024-06-11 04:16:49 +01:00
version = "1.4.4";
2023-09-11 18:37:11 +01:00
src = fetchCrate {
inherit pname version;
2024-06-11 04:16:49 +01:00
hash = "sha256-AARkXr6qOq9u/nmcmCnA4P+Q+MPPChCXoRaYiLwCNPs=";
2023-09-11 18:37:11 +01:00
};
buildInputs = lib.optionals stdenv.isDarwin [
Security
];
2024-06-11 04:16:49 +01:00
cargoHash = "sha256-myTh+zOtAt9h/irld7OHSXKMv0V+LAR4h/afYKvXeXg=";
2023-09-11 18:37:11 +01:00
meta = with lib; {
description = "Cargo command to create the README.md from your crate's documentation";
mainProgram = "cargo-rdme";
2023-09-11 18:37:11 +01: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 ];
};
}