9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
17 hash = "sha256-IGk7akmHGQXLHfCCq6GXOIUnh63/sE2Ds+8H91uMKnw=";
20 cargoHash = "sha256-2SD62zlWck+DPFs8bQipd8G09134L6LotrzfAiM1Pc8=";
22 buildInputs = lib.optionals stdenv.isLinux [ libxcb ]
23 ++ lib.optionals stdenv.isDarwin [ AppKit ];
26 homepage = "https://github.com/replydev/cotp";
27 description = "Trustworthy, encrypted, command-line TOTP/HOTP authenticator app with import functionality";
28 license = licenses.gpl3Only;
29 maintainers = with maintainers; [ davsanchez ];