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