at 23.05-pre 644 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, six 5, mock 6, pyfakefs 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "pyu2f"; 12 version = "0.1.5a"; 13 14 src = fetchFromGitHub { 15 owner = "google"; 16 repo = pname; 17 rev = version; 18 sha256 = "0mx7bn1p3n0fxyxa82wg3c719hby7vqkxv57fhf7zvhlg2zfnr0v"; 19 }; 20 21 propagatedBuildInputs = [ six ]; 22 23 checkInputs = [ mock pyfakefs pytestCheckHook ]; 24 25 meta = with lib; { 26 description = "U2F host library for interacting with a U2F device over USB"; 27 homepage = "https://github.com/google/pyu2f"; 28 license = licenses.asl20; 29 maintainers = with maintainers; [ prusnak ]; 30 }; 31}