aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/pytest-subtests/default.nix
blob: 3be2adc11a42fa59bf7a1681c08049857f4a9c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildPythonPackage, isPy27, fetchPypi, setuptools_scm, pytestCheckHook }:

buildPythonPackage rec {
  pname = "pytest-subtests";
  version = "0.3.2";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "1mxg91mrn8672f8hwg0f31xkyarnq7q0hr4fvb9hcb09jshq2wk7";
  };

  nativeBuildInputs = [ setuptools_scm ];

  checkInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "pytest plugin for unittest subTest() support and subtests fixture";
    homepage = "https://github.com/pytest-dev/pytest-subtests";
    license = licenses.mit;
  };
}