1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 setuptools, 7 twisted, 8}: 9 10buildPythonPackage rec { 11 pname = "setuptools-trial"; 12 version = "0.6.0"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 pname = "setuptools_trial"; 19 inherit version; 20 hash = "sha256-FCIPj3YcSLoeJSbwhxlQd89U+tcJizgs4iBCLw/1mxI="; 21 }; 22 23 nativeBuildInputs = [ setuptools ]; 24 25 propagatedBuildInputs = [ twisted ]; 26 27 # Couldn't get tests working 28 doCheck = false; 29 30 pythonImportsCheck = [ "setuptools_trial" ]; 31 32 meta = with lib; { 33 description = "Setuptools plugin that makes unit tests execute with trial instead of pyunit"; 34 homepage = "https://github.com/rutsky/setuptools-trial"; 35 license = licenses.bsd2; 36 maintainers = with maintainers; [ ryansydnor ]; 37 }; 38}