2019-01-10 18:03:55 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, six, cryptography
|
|
|
|
, mock, pyfakefs
|
|
|
|
}:
|
2018-06-28 16:08:48 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fido2";
|
2019-07-02 13:00:38 +02:00
|
|
|
version = "0.7.0";
|
2018-06-28 16:08:48 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-02 13:00:38 +02:00
|
|
|
sha256 = "11wdcjymw8y6wxgp29gbhdxff3lpc5yp5fcqnr5vnj88g192ic27";
|
2018-06-28 16:08:48 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six cryptography ];
|
|
|
|
|
2019-01-10 18:03:55 +01:00
|
|
|
checkInputs = [ mock pyfakefs ];
|
|
|
|
|
2018-06-28 16:08:48 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Provides library functionality for FIDO 2.0, including communication with a device over USB.";
|
|
|
|
homepage = https://github.com/Yubico/python-fido2;
|
|
|
|
license = licenses.mpl20;
|
|
|
|
};
|
|
|
|
}
|