@@ -0,0 +1,23 @@
1+{ lib, buildPythonPackage, fetchPypi, six, cryptography }:
2+
3+buildPythonPackage rec {
4+ pname = "fido2";
5+ version = "0.3.0";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "0ddbhg4nsabi9w66l8vkr0i5r80jqihlic5yrdl3v1aqahvxph1j";
10+ };
11+
12+ # The pypi package does not include tests
13+ # Check https://github.com/Yubico/python-fido2/pull/8
14+ doCheck = false;
15+
16+ propagatedBuildInputs = [ six cryptography ];
17+
18+ meta = with lib; {
19+ description = "Provides library functionality for FIDO 2.0, including communication with a device over USB.";
20+ homepage = https://github.com/Yubico/python-fido2;
21+ license = licenses.mpl20;
22+ };
23+}