{ lib, rustPlatform, fetchFromGitHub, }: rustPlatform.buildRustPackage rec { pname = "ripsecrets"; version = "0.1.11"; src = fetchFromGitHub { owner = "sirwart"; repo = "ripsecrets"; rev = "v${version}"; hash = "sha256-JCImUgicoXII64rK/Hch/0gJQE81Fw3h512w/vHUwAI="; }; cargoHash = "sha256-2HsUNN3lyGb/eOUEN/vTOQbAy59DQSzIaOqdk9+KhfU="; meta = with lib; { description = "Command-line tool to prevent committing secret keys into your source code"; homepage = "https://github.com/sirwart/ripsecrets"; changelog = "https://github.com/sirwart/ripsecrets/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; mainProgram = "ripsecrets"; }; }