summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-sugar/default.nix
blob: 3c89086a1db45eff09da679d8a5d5c0cf6a3fcdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  termcolor,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "pytest-sugar";
  version = "1.1.1";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-c7i2UWPr8Q+fZx76ue7T1W8g0spovag/pkdAqSwI9l0=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    termcolor
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Plugin that changes the default look and feel of pytest";
    homepage = "https://github.com/Frozenball/pytest-sugar";
    changelog = "https://github.com/Teemu/pytest-sugar/releases/tag/v${version}";
    license = lib.licenses.bsd3;
    maintainers = [ ];
  };
}