pythonPackages.fido2: 0.8.1 -> 0.9.1

This commit is contained in:
Vincent Haupert 2021-04-07 13:21:57 +02:00
parent b132849dae
commit 7b36a1ad09
No known key found for this signature in database
GPG Key ID: A8B605E96F82B4E4

View File

@ -9,17 +9,27 @@
buildPythonPackage rec {
pname = "fido2";
version = "0.8.1";
version = "0.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "1hzprnd407g2xh9kyv8j8pq949hwr1snmg3fp65pqfbghzv6i424";
hash = "sha256-hoDuJSOOIwdZbrOQCg+MDZzJEYkUbtgDlUTxo6ad/m4=";
};
propagatedBuildInputs = [ six cryptography ];
checkInputs = [ mock pyfakefs ];
# Testing with `python setup.py test` doesn't work:
# https://github.com/Yubico/python-fido2/issues/108#issuecomment-763513576
checkPhase = ''
runHook preCheck
python -m unittest discover -v
runHook postCheck
'';
pythonImportsCheck = [ "fido2" ];
meta = with lib; {