aaaaa
This commit is contained in:
parent
414e830efa
commit
d3a93fd115
35 changed files with 1832 additions and 228 deletions
53
packages/fido2-hid-bridge.nix
Normal file
53
packages/fido2-hid-bridge.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
python-uhid
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "fido2-hid-bridge";
|
||||
version = "0.1.0";
|
||||
pyproject = true;
|
||||
doCheck = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thexyno";
|
||||
repo = "fido2-hid-bridge";
|
||||
rev = "a61ca02f6c5c0b3762704589f9fe07b161b0cfcc";
|
||||
hash = "sha256-uE4C3maVNf7UkeI4OBeBY75XJx115bUalvfaNc+Qyv4=";
|
||||
};
|
||||
|
||||
|
||||
|
||||
dependencies = [
|
||||
python3Packages.poetry-core
|
||||
python3Packages.fido2_2
|
||||
python3Packages.pyscard
|
||||
python-uhid
|
||||
python3Packages.flake8
|
||||
];
|
||||
|
||||
# nativeCheckInputs =
|
||||
# with python3Packages;
|
||||
# [
|
||||
# pytestCheckHook
|
||||
# pytest-cov-stub
|
||||
# mock
|
||||
# pillow
|
||||
# typeguard
|
||||
# ]
|
||||
# ++ [
|
||||
# writableTmpDirAsHomeHook
|
||||
# ];
|
||||
|
||||
meta = {
|
||||
description = "a Linux virtual USB-HID FIDO2 Device that forwards CTAP2.1 commands to an attached PC/SC authenticator";
|
||||
homepage = "https://github.com/BryanJacobs/fido2-hid-bridge/";
|
||||
maintainers = with lib.maintainers; [
|
||||
# TODO
|
||||
];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue