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 buildInputs = [ pytest ];
20
21 propagatedBuildInputs = [
22 termcolor
23 packaging
24 ];
25
26 checkInputs = [
27 pytestCheckHook
28 ];
29
30 meta = with lib; {
31 description = "A plugin that changes the default look and feel of py.test";
32 homepage = "https://github.com/Frozenball/pytest-sugar";
33 license = licenses.bsd3;
34 maintainers = [ maintainers.costrouc ];
35 };
36}