Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 24 lines 578 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, six, cryptography 3, mock, pyfakefs 4}: 5 6buildPythonPackage rec { 7 pname = "fido2"; 8 version = "0.7.0"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "11wdcjymw8y6wxgp29gbhdxff3lpc5yp5fcqnr5vnj88g192ic27"; 13 }; 14 15 propagatedBuildInputs = [ six cryptography ]; 16 17 checkInputs = [ mock pyfakefs ]; 18 19 meta = with lib; { 20 description = "Provides library functionality for FIDO 2.0, including communication with a device over USB."; 21 homepage = https://github.com/Yubico/python-fido2; 22 license = licenses.mpl20; 23 }; 24}