summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-subtesthack/default.nix
blob: 5c1f2c06f97b0d00787b130000255db92ae2df7a (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pytest,
}:

buildPythonPackage rec {
  pname = "pytest-subtesthack";
  version = "0.2.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-67UEIDycAf3TedKvp0dofct7HtG+H8DD9Tmy3oEnYgA=";
  };

  buildInputs = [ pytest ];

  # no upstream test
  doCheck = false;

  meta = {
    description = "Terrible plugin to set up and tear down fixtures within the test function itself";
    homepage = "https://github.com/untitaker/pytest-subtesthack";
    license = lib.licenses.publicDomain;
  };
}