depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-testmon/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

42 lines
819 B
Nix

{ lib
, buildPythonPackage
, coverage
, fetchPypi
, pytest
, pythonOlder
}:
buildPythonPackage rec {
pname = "pytest-testmon";
version = "1.3.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ncgNO76j2Z3766ojYydUoYZzRoTb2XxhR6FkKFzjyhI=";
};
buildInputs = [
pytest
];
propagatedBuildInputs = [
coverage
];
# The project does not include tests since version 1.3.0
doCheck = false;
pythonImportsCheck = [
"testmon"
];
meta = with lib; {
description = "Pytest plug-in which automatically selects and re-executes only tests affected by recent changes";
homepage = "https://github.com/tarpas/pytest-testmon/";
license = licenses.mit;
maintainers = with maintainers; [ dmvianna ];
};
}