1{ lib 2, buildPythonPackage 3, fetchPypi 4, easyprocess 5, path 6, pytestCheckHook 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "entrypoint2"; 12 version = "1.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-/At/57IazatHpYWrlAfKflxPlstoiFddtrDOuR8OEFo="; 20 }; 21 22 nativeCheckInputs = [ 23 easyprocess 24 path 25 pytestCheckHook 26 ]; 27 28 pythonImportsCheck = [ 29 "entrypoint2" 30 ]; 31 32 meta = with lib; { 33 description = "Easy to use command-line interface for python modules"; 34 homepage = "https://github.com/ponty/entrypoint2/"; 35 license = licenses.bsd2; 36 maintainers = with maintainers; [ austinbutler ]; 37 }; 38}