7 python3Packages.buildPythonApplication {
8 pname = "arubaotp-seed-extractor";
9 version = "unstable-22-12-2022";
11 src = fetchFromGitHub {
13 repo = "ArubaOTP-seed-extractor";
14 rev = "534f78bb71594d5806fd2d7a8eade109b0e1d402";
15 hash = "sha256-1pv88OClskQOPtJaP7g0duXMe/X3M6Tk+ituZ9UxoIE=";
21 python3Packages.wrapPython
24 pythonPath = with python3Packages; [
32 libdir="$out/${python3Packages.python.sitePackages}/arubaotp-seed-extractor"
34 cp scripts/* "$libdir"
35 chmod +x "$libdir/main.py"
36 wrapPythonProgramsIn "$libdir" "$pythonPath"
38 ln -s "$libdir/main.py" $out/bin/arubaotp-seed-extractor
42 homepage = "https://github.com/andry08/ArubaOTP-seed-extractor";
43 description = "Extract TOTP seed instead of using ArubaOTP app";
44 mainProgram = "arubaotp-seed-extractor";
45 license = licenses.mit;
46 maintainers = with maintainers; [ fgaz ];