5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
28 lines
716 B
Nix
28 lines
716 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-readme";
|
|
version = "3.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "webern";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-FFWHADATEfvZvxGwdkj+eTVoq7pnPuoUAhMGTokUkMs=";
|
|
};
|
|
|
|
cargoHash = "sha256-OEArMqOiT+PZ+zMRt9h0EzeP7ikFuOYR8mFGtm+xCkQ=";
|
|
|
|
# disable doc tests
|
|
cargoTestFlags = [
|
|
"--bins" "--lib"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Generate README.md from docstrings";
|
|
mainProgram = "cargo-readme";
|
|
homepage = "https://github.com/livioribeiro/cargo-readme";
|
|
license = with licenses; [ mit asl20 ];
|
|
maintainers = with maintainers; [ baloo matthiasbeyer ];
|
|
};
|
|
}
|