pythonPackages.fido2: 0.8.1 -> 0.9.1
This commit is contained in:
parent
b132849dae
commit
7b36a1ad09
@ -9,17 +9,27 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fido2";
|
pname = "fido2";
|
||||||
version = "0.8.1";
|
version = "0.9.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1hzprnd407g2xh9kyv8j8pq949hwr1snmg3fp65pqfbghzv6i424";
|
hash = "sha256-hoDuJSOOIwdZbrOQCg+MDZzJEYkUbtgDlUTxo6ad/m4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ six cryptography ];
|
propagatedBuildInputs = [ six cryptography ];
|
||||||
|
|
||||||
checkInputs = [ mock pyfakefs ];
|
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" ];
|
pythonImportsCheck = [ "fido2" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user