1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, virtualenv 6, pytest-runner 7, pytest-virtualenv 8, twisted 9, pathlib2 10}: 11 12buildPythonPackage rec { 13 pname = "setuptools_trial"; 14 version = "0.6.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "14220f8f761c48ba1e2526f087195077cf54fad7098b382ce220422f0ff59b12"; 19 }; 20 21 buildInputs = [ pytest virtualenv pytest-runner pytest-virtualenv ]; 22 propagatedBuildInputs = [ twisted pathlib2 ]; 23 24 postPatch = '' 25 sed -i '12,$d' tests/test_main.py 26 ''; 27 28 # Couldn't get tests working 29 doCheck = false; 30 31 meta = with lib; { 32 description = "Setuptools plugin that makes unit tests execute with trial instead of pyunit."; 33 homepage = "https://github.com/rutsky/setuptools-trial"; 34 license = licenses.bsd2; 35 maintainers = with maintainers; [ ryansydnor ]; 36 }; 37 38}