nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 31 lines 823 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "cargo-sync-readme"; 9 version = "1.1"; 10 11 src = fetchFromGitHub { 12 owner = "phaazon"; 13 repo = "cargo-sync-readme"; 14 rev = version; 15 sha256 = "sha256-n9oIWblTTuXFFQFN6mpQiCH5N7yg5fAp8v9vpB5/DAo="; 16 }; 17 18 cargoHash = "sha256-A1LZKENNOcgUz6eacUo9WCKIZWA7dJa0zuZrgzRr/Js="; 19 20 meta = { 21 description = "Cargo plugin that generates a Markdown section in your README based on your Rust documentation"; 22 mainProgram = "cargo-sync-readme"; 23 homepage = "https://github.com/phaazon/cargo-sync-readme"; 24 changelog = "https://github.com/phaazon/cargo-sync-readme/blob/${version}/CHANGELOG.md"; 25 license = lib.licenses.bsd3; 26 maintainers = with lib.maintainers; [ 27 b4dm4n 28 matthiasbeyer 29 ]; 30 }; 31}