Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pytest-sugar / default.nix
blobe916e0e00516125b164e5b7a6868fdd42d96c3ff
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , termcolor
5 , pytest
6 , packaging
7 , pytestCheckHook
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "pytest-sugar";
13   version = "0.9.7";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-8edMGr+lX3JBz3CIAytuN4Vm8WuTjz8IkF4s9ElO3UY=";
21   };
23   buildInputs = [
24     pytest
25   ];
27   propagatedBuildInputs = [
28     termcolor
29     packaging
30   ];
32   nativeCheckInputs = [
33     pytestCheckHook
34   ];
36   meta = with lib; {
37     description = "A plugin that changes the default look and feel of pytest";
38     homepage = "https://github.com/Frozenball/pytest-sugar";
39     changelog = "https://github.com/Teemu/pytest-sugar/releases/tag/v${version}";
40     license = licenses.bsd3;
41     maintainers = with maintainers; [ ];
42   };