Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
1.0 KiB
Nix

{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication {
pname = "posteid-seed-extractor";
version = "0-unstable-2022-02-23";
src = fetchFromGitHub {
owner = "simone36050";
repo = "PosteID-seed-extractor";
rev = "667e2997a98aa3273a6bf6b4b34ca77715120e7f";
hash = "sha256-smNwp67HYbZuMrl0uf2X2yox2JqeEV6WzIBp4dALwgw=";
};
format = "other";
pythonPath = with python3Packages; [
certifi
cffi
charset-normalizer
cryptography
idna
jwcrypto
pycparser
pycryptodome
pyotp
qrcode
requests
urllib3
wrapt
];
installPhase = ''
runHook preInstall
install -Dm755 extractor.py $out/bin/posteid-seed-extractor
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/simone36050/PosteID-seed-extractor";
description = "Extract OTP seed instead of using PosteID app";
mainProgram = "posteid-seed-extractor";
license = licenses.mit;
maintainers = with maintainers; [ aciceri ];
};
}