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