1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 termcolor,
6 pytest,
7 packaging,
8 pytestCheckHook,
9 pythonOlder,
10}:
11
12buildPythonPackage rec {
13 pname = "pytest-sugar";
14 version = "1.0.0";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-ZCLoMlj1sMBM58YyF2x3Msq1/bkJyznMpckTn4EnbAo=";
22 };
23
24 buildInputs = [ pytest ];
25
26 propagatedBuildInputs = [
27 termcolor
28 packaging
29 ];
30
31 nativeCheckInputs = [ pytestCheckHook ];
32
33 meta = with lib; {
34 description = "A plugin that changes the default look and feel of pytest";
35 homepage = "https://github.com/Frozenball/pytest-sugar";
36 changelog = "https://github.com/Teemu/pytest-sugar/releases/tag/v${version}";
37 license = licenses.bsd3;
38 maintainers = with maintainers; [ ];
39 };
40}