1 { lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
8 owner = "evansmurithi";
11 hash = "sha256-Pd2aorsXdHB1bs609+S5s+WV5M1ql48yIKaoN8SEvsg=";
14 cargoHash = "sha256-m11A5fcJzWoDZglrr2Es1V5ZJNepEkGeIRVhexJ7jws=";
16 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
19 homepage = "https://github.com/evansmurithi/cloak";
20 description = "Command-line OTP authenticator application";
21 license = licenses.mit;
22 maintainers = with maintainers; [ mvs ];
23 mainProgram = "cloak";