nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python310Packages.pyotp: 2.7.0 -> 2.8.0

https://github.com/pyauth/pyotp/releases/tag/v2.8.0

+16 -4
+16 -4
pkgs/development/python-modules/pyotp/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy27 }: 1 + { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , fetchPypi 5 + , unittestCheckHook 6 + }: 2 7 3 8 buildPythonPackage rec { 4 9 pname = "pyotp"; 5 - version = "2.7.0"; 6 - disabled = isPy27; 10 + version = "2.8.0"; 11 + disabled = pythonOlder "3.7"; 12 + 13 + format = "setuptools"; 7 14 8 15 src = fetchPypi { 9 16 inherit pname version; 10 - sha256 = "sha256-zpifq6Dfd9wDK0XlHGzKQrzyCJbI09HnzXWaU9x9bLU="; 17 + hash = "sha256-wvXhfZ2pLY7B995jMasIEWuRFa26vLpuII1G/EmpjFo="; 11 18 }; 19 + 20 + checkInputs = [ 21 + unittestCheckHook 22 + ]; 12 23 13 24 pythonImportsCheck = [ "pyotp" ]; 14 25 15 26 meta = with lib; { 27 + changelog = "https://github.com/pyauth/pyotp/blob/v${version}/Changes.rst"; 16 28 description = "Python One Time Password Library"; 17 29 homepage = "https://github.com/pyauth/pyotp"; 18 30 license = licenses.mit;