depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-testmon/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

42 lines
819 B
Nix

{ lib
, buildPythonPackage
, coverage
, fetchPypi
, pytest
, pythonOlder
}:
buildPythonPackage rec {
pname = "pytest-testmon";
version = "1.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-PVLXOBTo2xnMBM4wyvrmGgyztW0ajGxMU+oIhrjZiw8=";
};
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 ];
};
}