nixpkgs/pkgs/development/python-modules/pytest-testmon/default.nix
Daniel Vianna 73d0b53ff2 pythonPackages.pytest-testmon: init at 0.9.16
Co-Authored-By: worldofpeace <worldofpeace@protonmail.ch>
2019-06-17 01:58:10 -04:00

35 lines
703 B
Nix

{ 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 ];
};
}