8 rustPlatform.buildRustPackage rec {
12 src = fetchFromGitHub {
16 hash = "sha256-5wVIjh16AYwrzjbPgvjsQhihu/vwdQfzU2kZS6eSTWs=";
19 cargoHash = "sha256-DMswC+Qp6w7Dcp5YYV4EGWUylv/ouG0ukAdCdDnOA/8=";
21 buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libxcb ];
24 homepage = "https://github.com/replydev/cotp";
25 description = "Trustworthy, encrypted, command-line TOTP/HOTP authenticator app with import functionality";
26 license = licenses.gpl3Only;
27 maintainers = with maintainers; [ davsanchez ];