1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 six, 7 paste, 8 setuptools, 9 pastedeploy, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "pastescript"; 15 version = "3.7.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-U28CjftuUynGezIpnhyTA/kSZOSXk8xpFusKc+tKJSE="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 propagatedBuildInputs = [ 28 paste 29 pastedeploy 30 six 31 ]; 32 33 # test suite seems to unset PYTHONPATH 34 doCheck = false; 35 36 nativeCheckInputs = [ pytestCheckHook ]; 37 38 disabledTestPaths = [ "appsetup/testfiles" ]; 39 40 pythonImportsCheck = [ 41 "paste.script" 42 "paste.deploy" 43 "paste.util" 44 ]; 45 46 meta = with lib; { 47 description = "Pluggable command-line frontend, including commands to setup package file layouts"; 48 mainProgram = "paster"; 49 homepage = "https://github.com/cdent/pastescript/"; 50 license = licenses.mit; 51 maintainers = [ ]; 52 }; 53}