1{ lib
2, buildPythonPackage
3, fetchPypi
4, termcolor
5, pytest
6, packaging
7, pytestCheckHook
8}:
9
10buildPythonPackage rec {
11 pname = "pytest-sugar";
12 version = "0.9.4";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "b1b2186b0a72aada6859bea2a5764145e3aaa2c1cfbb23c3a19b5f7b697563d3";
17 };
18
19 propagatedBuildInputs = [
20 termcolor
21 pytest
22 packaging
23 ];
24
25 checkInputs = [
26 pytestCheckHook
27 ];
28
29 meta = with lib; {
30 description = "A plugin that changes the default look and feel of py.test";
31 homepage = "https://github.com/Frozenball/pytest-sugar";
32 license = licenses.bsd3;
33 maintainers = [ maintainers.costrouc ];
34 };
35}