Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "ripsecrets";
9 version = "0.1.11";
10
11 src = fetchFromGitHub {
12 owner = "sirwart";
13 repo = "ripsecrets";
14 rev = "v${version}";
15 hash = "sha256-JCImUgicoXII64rK/Hch/0gJQE81Fw3h512w/vHUwAI=";
16 };
17
18 cargoHash = "sha256-2HsUNN3lyGb/eOUEN/vTOQbAy59DQSzIaOqdk9+KhfU=";
19
20 meta = with lib; {
21 description = "Command-line tool to prevent committing secret keys into your source code";
22 homepage = "https://github.com/sirwart/ripsecrets";
23 changelog = "https://github.com/sirwart/ripsecrets/blob/${src.rev}/CHANGELOG.md";
24 license = licenses.mit;
25 maintainers = with maintainers; [ figsoda ];
26 mainProgram = "ripsecrets";
27 };
28}