17 buildPythonPackage rec {
18 pname = "python-u2flib-server";
20 format = "setuptools";
22 src = fetchFromGitHub {
24 repo = "python-u2flib-server";
26 hash = "sha256-ginP9u+aHcdaWpwcFYJWu0Ghf7+nDZq9i3TVAacIPhg=";
30 ./cryptography-37-compat.patch
33 propagatedBuildInputs = [
38 passthru.optional-dependencies = {
44 pythonImportsCheck = [
51 ] ++ passthru.optional-dependencies.u2f_server;
54 description = "Python based U2F server library";
55 homepage = "https://github.com/Yubico/python-u2flib-server";
56 changelog = "https://github.com/Yubico/python-u2flib-server/blob/${src.rev}/NEWS";
57 license = licenses.bsd2;
58 maintainers = with maintainers; [ hexa ];