summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-order/default.nix
blob: cd2c9720b14c68bb2103a50926ce500b9f3c2d5d (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
38
39
40
41
42
43
44
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  setuptools,
  pytest-xdist,
  pytest-dependency,
  pytest-mock,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "pytest-order";
  version = "1.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pytest-dev";
    repo = "pytest-order";
    tag = "v${version}";
    hash = "sha256-V1qJGkXn+HhuK5wiwkkJBEbfnv23R4x9Cv0J6ZTj5xE=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-xdist
    pytest-dependency
    pytest-mock
  ];

  strictDeps = true;

  meta = {
    description = "Pytest plugin that allows you to customize the order in which your tests are run";
    homepage = "https://github.com/pytest-dev/pytest-order";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [
      jacg
      Luflosi
    ];
  };
}