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