{ lib , buildPythonPackage , fetchPypi , pythonOlder , coverage , pytest }: buildPythonPackage rec { pname = "pytest-testmon"; version = "1.1.2"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; sha256 = "91f4513f7e5a1cf4f1eda25ab7f310497abe30e5f19b612fd80ba7d5f60b58a6"; }; propagatedBuildInputs = [ coverage ]; checkInputs = [ pytest ]; # avoid tests which try to import unittest_mixins # unittest_mixins doesn't seem to be very active checkPhase = '' cd test pytest test_{core,process_code,pytest_assumptions}.py ''; meta = with lib; { homepage = "https://github.com/tarpas/pytest-testmon/"; description = "This is a py.test plug-in which automatically selects and re-executes only tests affected by recent changes"; license = licenses.mit; maintainers = [ maintainers.dmvianna ]; }; }