1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 pycodestyle, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "flake8-blind-except"; 11 version = "0.2.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-8lpXWp3LPus8dgv5wi22C4taIxICJO0fqppD913X3RY="; 19 }; 20 21 propagatedBuildInputs = [ pycodestyle ]; 22 23 # Module has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "flake8_blind_except" ]; 27 28 meta = with lib; { 29 description = "Flake8 extension that checks for blind except: statements"; 30 homepage = "https://github.com/elijahandrews/flake8-blind-except"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ johbo ]; 33 }; 34}