3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pytest-testmon/default.nix

35 lines
703 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, coverage
, pytest
}:
buildPythonPackage rec {
pname = "pytest-testmon";
version = "0.9.16";
src = fetchPypi {
inherit pname version;
sha256 = "df00594e55f8f8f826e0e345dc23863ebac066eb749f8229c515a0373669c5bb";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [ coverage ];
checkInputs = [ pytest ];
checkPhase = ''
pytest test
'';
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 ];
};
}