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