mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
posteid-seed-extractor: init at unstable-23-02-2022
This commit is contained in:
parent
fb2c37b576
commit
59d5393967
47
pkgs/tools/security/posteid-seed-extractor/default.nix
Normal file
47
pkgs/tools/security/posteid-seed-extractor/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication {
|
||||
pname = "posteid-seed-extractor";
|
||||
version = "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";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ aciceri ];
|
||||
};
|
||||
}
|
@ -11038,6 +11038,8 @@ with pkgs;
|
||||
libjpeg8 = libjpeg.override { enableJpeg8 = true; };
|
||||
};
|
||||
|
||||
posteid-seed-extractor = callPackage ../tools/security/posteid-seed-extractor {};
|
||||
|
||||
postscript-lexmark = callPackage ../misc/drivers/postscript-lexmark { };
|
||||
|
||||
povray = callPackage ../tools/graphics/povray {
|
||||
|
Loading…
Reference in New Issue
Block a user