at master 665 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6}: 7 8buildPythonPackage rec { 9 pname = "first"; 10 version = "2.0.2"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-/yhbCMVfjJfOTqcBJ0OvJJXJ8SkXhfFjcivTb2r2078="; 18 }; 19 20 doCheck = false; # no tests 21 22 pythonImportsCheck = [ "first" ]; 23 24 meta = with lib; { 25 description = "Function you always missed in Python"; 26 homepage = "https://github.com/hynek/first/"; 27 changelog = "https://github.com/hynek/first/blob/${version}/HISTORY.rst"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ zimbatm ]; 30 }; 31}