Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 517 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy27 }: 2 3buildPythonPackage rec { 4 pname = "pyotp"; 5 version = "2.4.0"; 6 disabled = isPy27; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "01eceab573181188fe038d001e42777884a7f5367203080ef5bda0e30fe82d28"; 11 }; 12 13 pythonImportsCheck = [ "pyotp" ]; 14 15 meta = with lib; { 16 description = "Python One Time Password Library"; 17 homepage = "https://github.com/pyotp/pyotp"; 18 license = licenses.mit; 19 maintainers = with maintainers; [ dotlambda ]; 20 }; 21}