1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchFromGitHub 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "certifi"; 10 version = "2022.09.24"; 11 12 disabled = pythonOlder "3.6"; 13 14 src = fetchFromGitHub { 15 owner = pname; 16 repo = "python-certifi"; 17 rev = version; 18 hash = "sha256-B6LO6AfG9cfpyNI7hj3VjmGTFsrrIkDYO4gPMkZY74w="; 19 }; 20 21 checkInputs = [ 22 pytestCheckHook 23 ]; 24 25 pythonImportsCheck = [ 26 "certifi" 27 ]; 28 29 meta = with lib; { 30 homepage = "https://github.com/certifi/python-certifi"; 31 description = "Python package for providing Mozilla's CA Bundle"; 32 license = licenses.isc; 33 maintainers = with maintainers; [ koral SuperSandro2000 ]; 34 }; 35}