1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 python-dateutil, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "ghp-import"; 11 version = "2.1.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-nFNcTGEZPC34hxIiVn1/1+UBTYNfl9x7dDkGniQT00M="; 19 }; 20 21 propagatedBuildInputs = [ python-dateutil ]; 22 23 # Does not include any unit tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "ghp_import" ]; 27 28 meta = with lib; { 29 description = "Copy your docs directly to the gh-pages branch"; 30 mainProgram = "ghp-import"; 31 homepage = "https://github.com/c-w/ghp-import"; 32 license = licenses.asl20; 33 maintainers = with maintainers; [ veehaitch ]; 34 }; 35}