blob: a86aceae8ddc7d512d5d5696030945f6c99ee3e3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
lib,
buildPythonPackage,
decorator,
fetchPypi,
invocations,
invoke,
pytest,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pytest-relaxed";
version = "2.0.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-lW6gKOww27+2gN2Oe0p/uPgKI5WV6Ius4Bi/LA1xgkg=";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [ decorator ];
nativeCheckInputs = [
invocations
invoke
pytestCheckHook
];
pytestFlagsArray = [ "tests" ];
pythonImportsCheck = [ "pytest_relaxed" ];
meta = with lib; {
homepage = "https://pytest-relaxed.readthedocs.io/";
description = "Relaxed test discovery/organization for pytest";
changelog = "https://github.com/bitprophet/pytest-relaxed/blob/${version}/docs/changelog.rst";
license = licenses.bsd0;
maintainers = with maintainers; [ ];
};
}
|