2023-09-09 05:52:43 +02:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "ripsecrets";
|
2023-09-11 22:16:33 +02:00
|
|
|
version = "0.1.7";
|
2023-09-09 05:52:43 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sirwart";
|
|
|
|
repo = "ripsecrets";
|
|
|
|
rev = "v${version}";
|
2023-09-11 22:16:33 +02:00
|
|
|
hash = "sha256-NDSMxIq6eBXOv/mI662vsIIOfWQEzQ5fDGznC4+gFyE=";
|
2023-09-09 05:52:43 +02:00
|
|
|
};
|
|
|
|
|
2023-09-11 22:16:33 +02:00
|
|
|
cargoHash = "sha256-vp2gQUf6TWFkJ09STOlqlEB+jsGrVGAmix2eSgBDG/o=";
|
2023-09-09 05:52:43 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A 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";
|
|
|
|
};
|
|
|
|
}
|