9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
17 hash = "sha256-U5x8szvouoxJ+DZUlrn5wtXt+6vs62tzcWICQW3B21U=";
20 cargoHash = "sha256-o9LRXbx77EXXO7rEmpBrx2nommJgG0ikw1YzdeB0Gug=";
22 buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libxcb ]
23 ++ lib.optionals stdenv.hostPlatform.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 ];