12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
20 inherit pname version;
21 hash = "sha256-pAZ8P5/CpkTtNfU2ZJUGQzROxGLm0uu1vXS3YpcVprE=";
24 patches = [ ./tests.patch ];
27 substituteInPlace green/test/test_integration.py \
28 --subst-var-by green "$out/bin/green"
31 propagatedBuildInputs = [
38 # let green run it's own test suite
40 $out/bin/green -tvvv \
41 green.test.test_version \
42 green.test.test_cmdline \
45 pythonImportsCheck = [ "green" ];
48 description = "Python test runner";
49 homepage = "https://github.com/CleanCut/green";
50 license = licenses.mit;