mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
29 lines
776 B
Nix
29 lines
776 B
Nix
{
|
|
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=";
|
|
};
|
|
|
|
useFetchCargoVendor = true;
|
|
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";
|
|
};
|
|
}
|