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