nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, coverage
6, pytest
7}:
8
9buildPythonPackage rec {
10 pname = "pytest-testmon";
11 version = "1.3.1";
12 disabled = pythonOlder "3.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "sha256-6gWWCtm/GHknhjLyRdVf42koeaSKzk5/V0173DELmj0=";
17 };
18
19 propagatedBuildInputs = [ pytest coverage ];
20
21 # The project does not include tests since version 1.3.0
22 doCheck = false;
23 pythonImportsCheck = [ "testmon" ];
24
25 meta = with lib; {
26 homepage = "https://github.com/tarpas/pytest-testmon/";
27 description = "This is a py.test plug-in which automatically selects and re-executes only tests affected by recent changes";
28 license = licenses.mit;
29 maintainers = [ maintainers.dmvianna ];
30 };
31}
32