Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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.6.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 pname = "PasteScript"; 22 inherit version; 23 hash = "sha256-HCLSt81TUWRr7tKMb3DrSipLklZR2a/Ko1AdBsq7UXE="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 propagatedBuildInputs = [ 29 paste 30 pastedeploy 31 six 32 ]; 33 34 # test suite seems to unset PYTHONPATH 35 doCheck = false; 36 37 nativeCheckInputs = [ pytestCheckHook ]; 38 39 disabledTestPaths = [ "appsetup/testfiles" ]; 40 41 pythonImportsCheck = [ 42 "paste.script" 43 "paste.deploy" 44 "paste.util" 45 ]; 46 47 meta = with lib; { 48 description = "Pluggable command-line frontend, including commands to setup package file layouts"; 49 mainProgram = "paster"; 50 homepage = "https://github.com/cdent/pastescript/"; 51 license = licenses.mit; 52 maintainers = [ ]; 53 }; 54}