evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pytest-testmon / default.nix
blob7fdf801dd110704e29056d132ce77c3865fff7a1
2   lib,
3   buildPythonPackage,
4   coverage,
5   fetchFromGitHub,
6   pytest,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "pytest-testmon";
13   version = "2.1.1";
14   format = "pyproject";
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "tarpas";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-zbMX9r9lftdm9hzXMZRZZ/GEDViGk9QiYYUhO9ZcEAc=";
23   };
25   nativeBuildInputs = [ setuptools ];
27   buildInputs = [ pytest ];
29   propagatedBuildInputs = [ coverage ];
31   # The project does not include tests since version 1.3.0
32   doCheck = false;
34   pythonImportsCheck = [ "testmon" ];
36   meta = with lib; {
37     description = "Pytest plug-in which automatically selects and re-executes only tests affected by recent changes";
38     homepage = "https://github.com/tarpas/pytest-testmon/";
39     changelog = "https://github.com/tarpas/pytest-testmon/releases/tag/v${version}";
40     license = licenses.mit;
41     maintainers = with maintainers; [ dmvianna ];
42   };